[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 12 / 91fab22f50caffab964a52860b7cf7dd68eed2
1 Return-Path: <sojka@os.inf.tu-dresden.de>\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 A6FAB429E25\r
6         for <notmuch@notmuchmail.org>; Fri, 19 Aug 2011 09:00:40 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 VmgnR5IQ4Esa for <notmuch@notmuchmail.org>;\r
16         Fri, 19 Aug 2011 09:00:39 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 05C48431FD0\r
19         for <notmuch@notmuchmail.org>; Fri, 19 Aug 2011 09:00:39 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 4F24E19F333A;\r
22         Fri, 19 Aug 2011 18:00:38 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id DIwy78S3ZiKI; Fri, 19 Aug 2011 18:00:37 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 3F99C3CFE71;\r
30         Fri, 19 Aug 2011 18:00:37 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (unknown [141.76.49.12])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 3D950FA003;\r
34         Fri, 19 Aug 2011 18:00:37 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.76)\r
36         (envelope-from <sojka@os.inf.tu-dresden.de>)\r
37         id 1QuRUq-00070z-Ua; Fri, 19 Aug 2011 18:00:36 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: James Vasile <james@hackervisions.org>, notmuch@notmuchmail.org\r
40 Subject: Re: [PATCH] Return maximum of 150 results\r
41 In-Reply-To: <87r54hv2ct.fsf@opensourcematters.org>\r
42 References: <87zkj6um50.fsf@opensourcematters.org>\r
43         <87mxf5v43c.fsf@steelpick.2x.cz>\r
44         <87r54hv2ct.fsf@opensourcematters.org>\r
45 User-Agent: Notmuch/0.6.1-91-g55c2c34 (http://notmuchmail.org) Emacs/23.3.1\r
46         (x86_64-pc-linux-gnu)\r
47 Date: Fri, 19 Aug 2011 18:00:36 +0200\r
48 Message-ID: <877h69o0gr.fsf@steelpick.2x.cz>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Fri, 19 Aug 2011 16:00:40 -0000\r
64 \r
65 On Fri, 19 Aug 2011, James Vasile wrote:\r
66 > On Fri, 19 Aug 2011 17:00:23 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
67 > > Hi James,\r
68 > > \r
69 > > On Fri, 19 Aug 2011, James Vasile wrote:\r
70 > > > Display a maximum of 150 results when searching for messages.  This\r
71 > > > prevents client lag when searches return thousands of results you'll\r
72 > > > never look at\r
73 > > \r
74 > > I would not like this feature. If I search for something I really want\r
75 > > to see everything. For example, if I want to remove inbox from many\r
76 > > messages, I would search for them and press "-inbox<ret>". With your\r
77 > > patch I'd not be sure whether there are some more messages or not.\r
78\r
79 > Ah, I do such things from the commandline, but you are right that there\r
80 > is a good use for such.\r
81\r
82 > > \r
83 > > > (use the Filter command to cut down results that exceed 150).\r
84 > > \r
85 > > You can start filtering while the previous search is still running, so I\r
86 > > do not see problem with having bug number of results.\r
87\r
88 > Yes, you can filter while the search runs, but that's not the only\r
89 > problem with huge search results.  On my system, I routinely do searches\r
90 > that return 15000+ messages when I'm only interested in the first\r
91 > several.  When I hit Q, Emacs annoyingly asks me for permission to kill\r
92 > the buffer because it has a running process.  And emacs lags as it\r
93 > processes all that data.\r
94 \r
95 Ahh, I almost forget about this. I use this patch to disable this.\r
96 \r
97 -Michal\r
98 \r
99 --8<---------------cut here---------------start------------->8---\r
100 >From 0e0ae662026f4a17b882bb33140e0bb62e8da995 Mon Sep 17 00:00:00 2001\r
101 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
102 Date: Fri, 19 Aug 2011 17:58:40 +0200\r
103 Subject: [PATCH] Do not query on notmuch-search exit\r
104 \r
105 Emacs 23.2 queries by default about killing existing processes. Disable\r
106 this behavior for notmuch. I'm not sure whether this works with earlier\r
107 versions.\r
108 ---\r
109  emacs/notmuch.el |    4 +++-\r
110  1 files changed, 3 insertions(+), 1 deletions(-)\r
111 \r
112 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
113 index 3d82f0d..8858f3e 100644\r
114 --- a/emacs/notmuch.el\r
115 +++ b/emacs/notmuch.el\r
116 @@ -858,7 +858,9 @@ The optional parameters are used as follows:\r
117                        "--sort=newest-first")\r
118                      query)))\r
119           (set-process-sentinel proc 'notmuch-search-process-sentinel)\r
120 -         (set-process-filter proc 'notmuch-search-process-filter))))\r
121 +         (set-process-filter proc 'notmuch-search-process-filter)\r
122 +         (set-process-query-on-exit-flag proc nil)))\r
123 +      )\r
124      (run-hooks 'notmuch-search-hook)))\r
125  \r
126  (defun notmuch-search-refresh-view ()\r
127 -- \r
128 1.7.5.4\r
129 \r
130 --8<---------------cut here---------------end--------------->8---\r