1 Return-Path: <james.vasile@opensourcematters.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 758AE429E25
\r
6 for <notmuch@notmuchmail.org>; Fri, 19 Aug 2011 09:31:00 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.363 tagged_above=-999 required=5
\r
12 tests=[RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id M1ei0my1s+Mv for <notmuch@notmuchmail.org>;
\r
16 Fri, 19 Aug 2011 09:30:59 -0700 (PDT)
\r
17 Received: from hackervisions.org (67-207-143-141.slicehost.net
\r
18 [67.207.143.141]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id BC971431FD0
\r
21 for <notmuch@notmuchmail.org>; Fri, 19 Aug 2011 09:30:59 -0700 (PDT)
\r
22 Received: from ool-4572d87b.dyn.optonline.net ([69.114.216.123]
\r
23 helo=localhost) by hackervisions.org with esmtpsa
\r
24 (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from
\r
25 <james.vasile@opensourcematters.org>) id 1QuRzA-0007cF-Nq; Fri, 19 Aug 2011
\r
27 From: James Vasile <james@hackervisions.org>
\r
28 To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org
\r
29 Subject: Re: [PATCH] Return maximum of 150 results
\r
30 In-Reply-To: <877h69o0gr.fsf@steelpick.2x.cz>
\r
31 References: <87zkj6um50.fsf@opensourcematters.org>
\r
32 <87mxf5v43c.fsf@steelpick.2x.cz>
\r
33 <87r54hv2ct.fsf@opensourcematters.org>
\r
34 <877h69o0gr.fsf@steelpick.2x.cz>
\r
35 User-Agent: Notmuch/0.6.1-213-ge89ce87 (http://notmuchmail.org) Emacs/23.3.1
\r
36 (x86_64-pc-linux-gnu)
\r
37 Date: Fri, 19 Aug 2011 12:30:52 -0400
\r
38 Message-ID: <87obzluzwj.fsf@opensourcematters.org>
\r
40 Content-Type: text/plain; charset=us-ascii
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Fri, 19 Aug 2011 16:31:00 -0000
\r
55 On Fri, 19 Aug 2011 18:00:36 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
\r
56 > > On my system, I routinely do searches that return 15000+ messages
\r
57 > > when I'm only interested in the first several. When I hit Q, Emacs
\r
58 > > annoyingly asks me for permission to kill the buffer because it has
\r
59 > > a running process. And emacs lags as it processes all that data.
\r
61 > Ahh, I almost forget about this. I use this patch to disable this.
\r
63 Nice. That's a good solution.
\r
68 > --8<---------------cut here---------------start------------->8---
\r
69 > >From 0e0ae662026f4a17b882bb33140e0bb62e8da995 Mon Sep 17 00:00:00 2001
\r
70 > From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
71 > Date: Fri, 19 Aug 2011 17:58:40 +0200
\r
72 > Subject: [PATCH] Do not query on notmuch-search exit
\r
74 > Emacs 23.2 queries by default about killing existing processes. Disable
\r
75 > this behavior for notmuch. I'm not sure whether this works with earlier
\r
78 > emacs/notmuch.el | 4 +++-
\r
79 > 1 files changed, 3 insertions(+), 1 deletions(-)
\r
81 > diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
82 > index 3d82f0d..8858f3e 100644
\r
83 > --- a/emacs/notmuch.el
\r
84 > +++ b/emacs/notmuch.el
\r
85 > @@ -858,7 +858,9 @@ The optional parameters are used as follows:
\r
86 > "--sort=newest-first")
\r
88 > (set-process-sentinel proc 'notmuch-search-process-sentinel)
\r
89 > - (set-process-filter proc 'notmuch-search-process-filter))))
\r
90 > + (set-process-filter proc 'notmuch-search-process-filter)
\r
91 > + (set-process-query-on-exit-flag proc nil)))
\r
93 > (run-hooks 'notmuch-search-hook)))
\r
95 > (defun notmuch-search-refresh-view ()
\r
99 > --8<---------------cut here---------------end--------------->8---
\r