Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8F790431FBC for ; Wed, 18 Nov 2009 11:57:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qIkAWy2ll9he for ; Wed, 18 Nov 2009 11:57:17 -0800 (PST) Received: from keithp.com (home.keithp.com [63.227.221.253]) by olra.theworths.org (Postfix) with ESMTP id BAB96431FAE for ; Wed, 18 Nov 2009 11:57:17 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 2D5C9B9404C for ; Wed, 18 Nov 2009 11:57:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9e8mFTHKGrJN; Wed, 18 Nov 2009 11:57:14 -0800 (PST) Received: by keithp.com (Postfix, from userid 1033) id F1E9EB9402F; Wed, 18 Nov 2009 11:57:13 -0800 (PST) Received: from koto.keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id EFA4BB88003; Wed, 18 Nov 2009 11:57:13 -0800 (PST) Received: by koto.keithp.com (Postfix, from userid 1488) id 990871581A5; Wed, 18 Nov 2009 11:57:13 -0800 (PST) From: Keith Packard To: notmuch@notmuchmail.org Date: Wed, 18 Nov 2009 11:57:12 -0800 Message-Id: <1258574232-19966-1-git-send-email-keithp@keithp.com> X-Mailer: git-send-email 1.6.5.2 Subject: [notmuch] [PATCH] Limit reverse searches to 100 threads. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 19:57:18 -0000 Yes, this is a lame default, but it serves my purposes. Signed-off-by: Keith Packard --- 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