1 Return-Path: <dme@dme.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 1B64E4196F0
\r
6 for <notmuch@notmuchmail.org>; Thu, 10 Jun 2010 00:04:55 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 QCkdefZMha5r for <notmuch@notmuchmail.org>;
\r
17 Thu, 10 Jun 2010 00:04:44 -0700 (PDT)
\r
18 Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com
\r
19 [74.125.82.53]) by olra.theworths.org (Postfix) with ESMTP id EA9E4431FC1 for
\r
20 <notmuch@notmuchmail.org>; Thu, 10 Jun 2010 00:04:43 -0700 (PDT)
\r
21 Received: by wwb39 with SMTP id 39so4526150wwb.26
\r
22 for <notmuch@notmuchmail.org>; Thu, 10 Jun 2010 00:04:38 -0700 (PDT)
\r
23 Received: by 10.227.145.77 with SMTP id c13mr3763192wbv.140.1276153478053;
\r
24 Thu, 10 Jun 2010 00:04:38 -0700 (PDT)
\r
25 Received: from ut.hh.sledj.net (gmp-ea-fw-1b.sun.com [192.18.8.1])
\r
26 by mx.google.com with ESMTPS id u19sm18093128wbc.14.2010.06.10.00.04.36
\r
27 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
28 Thu, 10 Jun 2010 00:04:36 -0700 (PDT)
\r
29 Received: by ut.hh.sledj.net (Postfix, from userid 1000)
\r
30 id D9D6F594015; Thu, 10 Jun 2010 08:05:19 +0100 (BST)
\r
31 To: Dirk Hohndel <hohndel@infradead.org>, notmuch <notmuch@notmuchmail.org>
\r
32 Subject: Re: fix problem with notmuch-hello-nice-number
\r
33 In-Reply-To: <m37hm8fehu.fsf@x201s.gr8dns.org>
\r
34 References: <m37hm8fehu.fsf@x201s.gr8dns.org>
\r
35 User-Agent: Notmuch/0.3.1-50-gc535d0a (http://notmuchmail.org) Emacs/23.1.1
\r
36 (x86_64-pc-linux-gnu)
\r
37 From: David Edmondson <dme@dme.org>
\r
38 Date: Thu, 10 Jun 2010 08:05:13 +0100
\r
39 Message-ID: <87mxv3s6za.fsf@ut.hh.sledj.net>
\r
41 Content-Type: multipart/signed; boundary="=-=-=";
\r
42 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Thu, 10 Jun 2010 07:04:55 -0000
\r
58 Content-Transfer-Encoding: quoted-printable
\r
60 On Wed, 09 Jun 2010 07:49:01 -0700, Dirk Hohndel <hohndel@infradead.org> wr=
\r
62 > Without this little patch notmuch fails with current git if there's a
\r
63 > saved search that has zero results
\r
67 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
68 index a6e8a47..48bb6e3 100644
\r
69 =2D-- a/emacs/notmuch-hello.el
\r
70 +++ b/emacs/notmuch-hello.el
\r
71 @@ -115,6 +115,7 @@ Typically \",\" in the US and UK and \".\" in Europe."
\r
73 (push (% n 1000) result)
\r
74 (setq n (/ n 1000)))
\r
75 + (setq result (or result '(0)))
\r
77 (number-to-string (car result))
\r
78 (mapcar (lambda (elem)
\r
82 David Edmondson, http://dme.org
\r
85 Content-Type: application/pgp-signature
\r
87 -----BEGIN PGP SIGNATURE-----
\r
88 Version: GnuPG v1.4.10 (GNU/Linux)
\r
90 iEYEARECAAYFAkwQjqkACgkQaezQq/BJZRYoowCePZT1cBqFFJsUp1Gxsp5Gq2rG
\r
91 M24AmQHcbrwZJKBAIyMtOxvLvRh6gczg
\r
93 -----END PGP SIGNATURE-----
\r