Re: [PATCH] emacs-hello: Do not calculate the count of the messages in
[notmuch-archives.git] / aa / 10ca3e040403ccab313b0cc9ecab42feb1a4d3
1 Return-Path: <aaronecay@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 34D67431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 00:12:43 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id D6aQVXh2kf-m for <notmuch@notmuchmail.org>;\r
17         Tue, 20 Dec 2011 00:12:42 -0800 (PST)\r
18 Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com\r
19         [209.85.213.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id A754E431FB6\r
22         for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 00:12:42 -0800 (PST)\r
23 Received: by yenm3 with SMTP id m3so5045072yen.26\r
24         for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 00:12:42 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27         :mime-version:content-type:content-transfer-encoding;\r
28         bh=x6nsijC9Jyj9hiOzDhhlGGv5Kk1SUijvcrxDOII0quY=;\r
29         b=WaGQkba6J8wz+UtBVOOJOTZ2+F6/Wkk7N/Ox0xxckkA8lGp8CKXv3YRwXGsCmb7QRj\r
30         pUyuoGeEeyyVp2r5PZywAF/X1wldxs5rQ3hiTD3FlFEiHLOZZTZA7LPaZLGiK1CO066V\r
31         TlCaYOSkpNxezyIy+bCFxzDT44OeYCIiXfvvU=\r
32 Received: by 10.236.161.197 with SMTP id w45mr1449157yhk.96.1324368762246;\r
33         Tue, 20 Dec 2011 00:12:42 -0800 (PST)\r
34 Received: from localhost (c-68-80-94-73.hsd1.pa.comcast.net. [68.80.94.73])\r
35         by mx.google.com with ESMTPS id j21sm3113024ann.0.2011.12.20.00.12.39\r
36         (version=TLSv1/SSLv3 cipher=OTHER);\r
37         Tue, 20 Dec 2011 00:12:40 -0800 (PST)\r
38 From: Aaron Ecay <aaronecay@gmail.com>\r
39 To: Tomi Ollila <tomi.ollila@iki.fi>, David Edmondson <dme@dme.org>,\r
40         notmuch@notmuchmail.org\r
41 Subject: Re: [PATCH] emacs: Add `notmuch-jump-to-recent-buffer'.\r
42 In-Reply-To: <yf662hb1xj0.fsf@taco2.nixu.fi>\r
43 References: <1290426664-15745-1-git-send-email-dme@dme.org>\r
44         <yf662hb1xj0.fsf@taco2.nixu.fi>\r
45 User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org)\r
46         Emacs/24.0.92.3 (i386-apple-darwin10.8.0)\r
47 Date: Tue, 20 Dec 2011 03:12:36 -0500\r
48 Message-ID: <m262hbmzkb.fsf@gmail.com>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=utf-8\r
51 Content-Transfer-Encoding: quoted-printable\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Tue, 20 Dec 2011 08:12:43 -0000\r
65 \r
66 Tomi,\r
67 \r
68 On Tue, 20 Dec 2011 10:02:11 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
69 >=20\r
70 > Are the last few lines above working... if without '(' and no\r
71 > loop (nor for) function in my emacs (where notmuch loaded).\r
72 \r
73 This is the `loop' macro from cl.el.  It mimics a Common Lisp idiom\r
74 which, strangely enough, looks nothing like Lisp but is sort of a DSL\r
75 for specifying imperative loops.  You can find the documentation by\r
76 doing C-h i (to open the Info manual in Emacs) then following the =E2=80=9C=\r
77 CL=E2=80=9D\r
78 link.\r
79 \r
80 (One of the coolest features is that it is all implemented via macros,\r
81 so the compiler automatically unrolls it into a native Lisp loop.  Thus\r
82 the performance hit, if any, is negligible.)\r
83 \r
84 >=20\r
85 > ... memq is also nice; in case used the list should be done beforehand wi=\r
86 th\r
87 > (let* ...\r
88 \r
89 Given the fact about loop, let* isn=E2=80=99t really applicable.\r
90 \r
91 --=20\r
92 Aaron Ecay\r