fix problem with notmuch-hello-nice-number
Carl Worth
cworth at cworth.org
Fri Oct 29 15:56:16 PDT 2010
On Thu, 10 Jun 2010 08:05:13 +0100, David Edmondson <dme at dme.org> wrote:
> On Wed, 09 Jun 2010 07:49:01 -0700, Dirk Hohndel <hohndel at infradead.org> wrote:
> > Without this little patch notmuch fails with current git if there's a
> > saved search that has zero results
>
> How about:
...
> (setq n (/ n 1000)))
> + (setq result (or result '(0)))
> (apply #'concat
Thanks Dirk and David,
I've just pushed this version (finally!) of this nearly-trivial patch
From so long ago. The bug hasn't been as important lately since by
default notmuch doesn't even display saved searches with 0 results. But
the bug was still present for anyone that set
notmuch-show-empty-saved-searches to a non-nil value.
I've also added a test to the test suite to ensure this case gets
exercised there.
Thanks again,
-Carl
--
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101029/4dd957c5/attachment.pgp>
More information about the notmuch
mailing list