From: Keith Packard <keithp@keithp.com>
To: notmuch@notmuchmail.org
Subject: [PATCH] Limit reverse searches to 100 threads.
Date: Wed, 18 Nov 2009 11:57:12 -0800 [thread overview]
Message-ID: <1258574232-19966-1-git-send-email-keithp@keithp.com> (raw)
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
reply other threads:[~2009-11-18 19:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1258574232-19966-1-git-send-email-keithp@keithp.com \
--to=keithp@keithp.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).