Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / ce / 3c3cbc317ec9f6708a47369927076e0842161d
1 Return-Path: <cworth@cworth.org>\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 970EC40D150\r
6         for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 15:56:27 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\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 hIhT00ea4jUC; Fri, 29 Oct 2010 15:56:17 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id 30FCE40D149;\r
19         Fri, 29 Oct 2010 15:56:17 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id B813F254007; Fri, 29 Oct 2010 15:56:16 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: David Edmondson <dme@dme.org>, Dirk Hohndel <hohndel@infradead.org>,\r
24         notmuch <notmuch@notmuchmail.org>\r
25 Subject: Re: fix problem with notmuch-hello-nice-number\r
26 In-Reply-To: <87mxv3s6za.fsf@ut.hh.sledj.net>\r
27 References: <m37hm8fehu.fsf@x201s.gr8dns.org> <87mxv3s6za.fsf@ut.hh.sledj.net>\r
28 User-Agent: Notmuch/0.3.1 (http://notmuchmail.org) Emacs/23.2.1\r
29         (i486-pc-linux-gnu)\r
30 Date: Fri, 29 Oct 2010 15:56:16 -0700\r
31 Message-ID: <877hh0r4kv.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Fri, 29 Oct 2010 22:56:27 -0000\r
48 \r
49 --=-=-=\r
50 Content-Transfer-Encoding: quoted-printable\r
51 \r
52 On Thu, 10 Jun 2010 08:05:13 +0100, David Edmondson <dme@dme.org> wrote:\r
53 > On Wed, 09 Jun 2010 07:49:01 -0700, Dirk Hohndel <hohndel@infradead.org> =\r
54 wrote:\r
55 > > Without this little patch notmuch fails with current git if there's a\r
56 > > saved search that has zero results\r
57 >=20\r
58 > How about:\r
59 ...\r
60 >        (setq n (/ n 1000)))\r
61 > +    (setq result (or result '(0)))\r
62 >      (apply #'concat\r
63 \r
64 Thanks Dirk and David,\r
65 \r
66 I've just pushed this version (finally!) of this nearly-trivial patch\r
67 From=20so long ago. The bug hasn't been as important lately since by\r
68 default notmuch doesn't even display saved searches with 0 results. But\r
69 the bug was still present for anyone that set\r
70 notmuch-show-empty-saved-searches to a non-nil value.\r
71 \r
72 I've also added a test to the test suite to ensure this case gets\r
73 exercised there.\r
74 \r
75 Thanks again,\r
76 \r
77 =2DCarl\r
78 \r
79 =2D-=20\r
80 carl.d.worth@intel.com\r
81 \r
82 --=-=-=\r
83 Content-Type: application/pgp-signature\r
84 \r
85 -----BEGIN PGP SIGNATURE-----\r
86 Version: GnuPG v1.4.10 (GNU/Linux)\r
87 \r
88 iD8DBQFMy1EQ6JDdNq8qSWgRAnF/AJ9m6X6OWB9PXoL7cM/0oTbRw0bDaQCfVafH\r
89 gJCngHePEvck4wQNgcbU1AA=\r
90 =xBKn\r
91 -----END PGP SIGNATURE-----\r
92 --=-=-=--\r