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
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
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
30 Date: Fri, 29 Oct 2010 15:56:16 -0700
\r
31 Message-ID: <877hh0r4kv.fsf@yoom.home.cworth.org>
\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
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
50 Content-Transfer-Encoding: quoted-printable
\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
55 > > Without this little patch notmuch fails with current git if there's a
\r
56 > > saved search that has zero results
\r
60 > (setq n (/ n 1000)))
\r
61 > + (setq result (or result '(0)))
\r
64 Thanks Dirk and David,
\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
72 I've also added a test to the test suite to ensure this case gets
\r
80 carl.d.worth@intel.com
\r
83 Content-Type: application/pgp-signature
\r
85 -----BEGIN PGP SIGNATURE-----
\r
86 Version: GnuPG v1.4.10 (GNU/Linux)
\r
88 iD8DBQFMy1EQ6JDdNq8qSWgRAnF/AJ9m6X6OWB9PXoL7cM/0oTbRw0bDaQCfVafH
\r
89 gJCngHePEvck4wQNgcbU1AA=
\r
91 -----END PGP SIGNATURE-----
\r