[PATCH] Return maximum of 150 results
Daniel Schoepe
daniel.schoepe at googlemail.com
Mon Aug 22 16:46:00 PDT 2011
On Sat, 20 Aug 2011 15:11:00 -0400, James Vasile <james at hackervisions.org> wrote:
> On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka <sojkam1 at fel.cvut.cz> wrote:
> > If you really want this behavior, I propose to make the default value
> > of notmuch-max-results infinity.
>
> I'm attaching a revised patch that does as you suggest. Thanks.
I think this is a nice feature.
> +(defvar notmuch-max-results 0)
This should probably be a defcustom and it also needs a docstring
(saying, along with a general description, that 0 means "show all
messages"). Changing it so that nil means all messages might be a bit
nicer (since nil says "no maximum number of results" more clearly, I
think) though, but that's probably just me nitpicking.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110823/72638955/attachment.pgp>
More information about the notmuch
mailing list