[PATCH] Return maximum of 150 results

2011-08-23 Thread Daniel Schoepe
On Sat, 20 Aug 2011 15:11:00 -0400, James Vasile wrote: > On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka > 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.

[PATCH] Return maximum of 150 results

2011-08-20 Thread James Vasile
On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka 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. -- next part -- A non-text attachment was

Re: [PATCH] Return maximum of 150 results

2011-08-20 Thread James Vasile
On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka sojk...@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. From d0421e4308473347b31f5537eaec93b137084060 Mon

[PATCH] Return maximum of 150 results

2011-08-19 Thread Michal Sojka
On Fri, 19 Aug 2011, James Vasile wrote: > On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka > wrote: > > 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

[PATCH] Return maximum of 150 results

2011-08-19 Thread Michal Sojka
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

[PATCH] Return maximum of 150 results

2011-08-19 Thread James Vasile
On Fri, 19 Aug 2011 18:00:36 +0200, Michal Sojka wrote: > > On my system, I routinely do searches that return 15000+ messages > > when I'm only interested in the first several. When I hit Q, Emacs > > annoyingly asks me for permission to kill the buffer because it has > > a running process. And

[PATCH] Return maximum of 150 results

2011-08-19 Thread James Vasile
On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka wrote: > 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

[PATCH] Return maximum of 150 results

2011-08-19 Thread Jameson Graef Rollins
On Fri, 19 Aug 2011 18:00:36 +0200, Michal Sojka wrote: > Ahh, I almost forget about this. I use this patch to disable this. Hey, Michal. I think this is a very useful patch. Would you mind forwarding a properly-formatted patch for this to the list? jamie. -- next part

[PATCH] Return maximum of 150 results

2011-08-19 Thread James Vasile
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 (use the Filter command to cut down results that exceed 150). Number of results can be changed by setting notmuch-max-results. This patch depends

Re: [PATCH] Return maximum of 150 results

2011-08-19 Thread Michal Sojka
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.

Re: [PATCH] Return maximum of 150 results

2011-08-19 Thread James Vasile
On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: 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

Re: [PATCH] Return maximum of 150 results

2011-08-19 Thread Michal Sojka
On Fri, 19 Aug 2011, James Vasile wrote: On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: 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

Re: [PATCH] Return maximum of 150 results

2011-08-19 Thread James Vasile
On Fri, 19 Aug 2011 18:00:36 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: On my system, I routinely do searches that return 15000+ messages when I'm only interested in the first several. When I hit Q, Emacs annoyingly asks me for permission to kill the buffer because it has a running

Re: [PATCH] Return maximum of 150 results

2011-08-19 Thread Jameson Graef Rollins
On Fri, 19 Aug 2011 18:00:36 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: Ahh, I almost forget about this. I use this patch to disable this. Hey, Michal. I think this is a very useful patch. Would you mind forwarding a properly-formatted patch for this to the list? jamie.