[PATCH] Return maximum of 150 results

Michal Sojka sojkam1 at fel.cvut.cz
Fri Aug 19 08:00:23 PDT 2011


Hi James,

On Fri, 19 Aug 2011, James Vasile wrote:
> Display a maximum of 150 results when searching for messages.  This
> prevents client lag when searches return thousands of results you'll
> never look at

I would not like this feature. If I search for something I really want
to see everything. For example, if I want to remove inbox from many
messages, I would search for them and press "-inbox<ret>". With your
patch I'd not be sure whether there are some more messages or not.

> (use the Filter command to cut down results that exceed 150).

You can start filtering while the previous search is still running, so I
do not see problem with having bug number of results.
> 
> Number of results can be changed by setting notmuch-max-results.

If you really want this behavior, I propose to make the default value
of notmuch-max-results infinity.

-Michal


More information about the notmuch mailing list