Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 34D67431FD0 for ; Tue, 20 Dec 2011 00:12:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D6aQVXh2kf-m for ; Tue, 20 Dec 2011 00:12:42 -0800 (PST) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A754E431FB6 for ; Tue, 20 Dec 2011 00:12:42 -0800 (PST) Received: by yenm3 with SMTP id m3so5045072yen.26 for ; Tue, 20 Dec 2011 00:12:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type:content-transfer-encoding; bh=x6nsijC9Jyj9hiOzDhhlGGv5Kk1SUijvcrxDOII0quY=; b=WaGQkba6J8wz+UtBVOOJOTZ2+F6/Wkk7N/Ox0xxckkA8lGp8CKXv3YRwXGsCmb7QRj pUyuoGeEeyyVp2r5PZywAF/X1wldxs5rQ3hiTD3FlFEiHLOZZTZA7LPaZLGiK1CO066V TlCaYOSkpNxezyIy+bCFxzDT44OeYCIiXfvvU= Received: by 10.236.161.197 with SMTP id w45mr1449157yhk.96.1324368762246; Tue, 20 Dec 2011 00:12:42 -0800 (PST) Received: from localhost (c-68-80-94-73.hsd1.pa.comcast.net. [68.80.94.73]) by mx.google.com with ESMTPS id j21sm3113024ann.0.2011.12.20.00.12.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 00:12:40 -0800 (PST) From: Aaron Ecay To: Tomi Ollila , David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Add `notmuch-jump-to-recent-buffer'. In-Reply-To: References: <1290426664-15745-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org) Emacs/24.0.92.3 (i386-apple-darwin10.8.0) Date: Tue, 20 Dec 2011 03:12:36 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 08:12:43 -0000 Tomi, On Tue, 20 Dec 2011 10:02:11 +0200, Tomi Ollila wrote: >=20 > Are the last few lines above working... if without '(' and no > loop (nor for) function in my emacs (where notmuch loaded). This is the `loop' macro from cl.el. It mimics a Common Lisp idiom which, strangely enough, looks nothing like Lisp but is sort of a DSL for specifying imperative loops. You can find the documentation by doing C-h i (to open the Info manual in Emacs) then following the =E2=80=9C= CL=E2=80=9D link. (One of the coolest features is that it is all implemented via macros, so the compiler automatically unrolls it into a native Lisp loop. Thus the performance hit, if any, is negligible.) >=20 > ... memq is also nice; in case used the list should be done beforehand wi= th > (let* ... Given the fact about loop, let* isn=E2=80=99t really applicable. --=20 Aaron Ecay