[notmuch] [PATCH] Limit reverse searches to 100 threads.

Keith Packard keithp at keithp.com
Wed Nov 18 11:57:12 PST 2009


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

Signed-off-by: Keith Packard <keithp at 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



More information about the notmuch mailing list