On Thu, 10 Jun 2010 08:05:13 +0100, David Edmondson wrote: > On Wed, 09 Jun 2010 07:49:01 -0700, Dirk Hohndel 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@intel.com