unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] Limit reverse searches to 100 threads.
@ 2009-11-18 19:57 Keith Packard
  0 siblings, 0 replies; only message in thread
From: Keith Packard @ 2009-11-18 19:57 UTC (permalink / raw)
  To: notmuch

Yes, this is a lame default, but it serves my purposes.

Signed-off-by: Keith Packard <keithp@keithp.com>
---
 notmuch.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/notmuch.el b/notmuch.el
index 4498200..91ed073 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -945,7 +945,7 @@ This function advances point to the next line when finished."
       (save-excursion
 	(if oldest-first
 	    (call-process "notmuch" nil t nil "search" query)
-	  (call-process "notmuch" nil t nil "search" "--reverse" query))
+	  (call-process "notmuch" nil t nil "search" "--max-threads=100" "--reverse" query))
 	(notmuch-search-markup-thread-ids)
 	))))
 
-- 
1.6.5.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-18 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 19:57 [PATCH] Limit reverse searches to 100 threads Keith Packard

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).