RE: Reply all - issue
[notmuch-archives.git] / 4a / 6bf9e6ab79124a232cbb4f1c0c2bad4dc1463b
1 Return-Path: <sojkam1@fel.cvut.cz>\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 A7FA2431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 22 Aug 2011 13:29:56 -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 KVPWG8kCWsD4 for <notmuch@notmuchmail.org>;\r
16         Mon, 22 Aug 2011 13:29:56 -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 448FF431FB6\r
19         for <notmuch@notmuchmail.org>; Mon, 22 Aug 2011 13:29:56 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 9143D3CFE73;\r
22         Mon, 22 Aug 2011 22:29:55 +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 VnExdYc0W7Y0; Mon, 22 Aug 2011 22:29:54 +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 A4F153CFE72;\r
30         Mon, 22 Aug 2011 22:29:54 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (cable-86-56-4-108.cust.telecolumbus.net\r
32         [86.56.4.108]) (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id A47A7FA003;\r
34         Mon, 22 Aug 2011 22:29:54 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.76)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1Qvb85-0000tr-Fp; Mon, 22 Aug 2011 22:29:53 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH] Do not query on notmuch-search exit\r
41 Date: Mon, 22 Aug 2011 22:29:03 +0200\r
42 Message-Id: <1314044943-3417-1-git-send-email-sojkam1@fel.cvut.cz>\r
43 X-Mailer: git-send-email 1.7.5.4\r
44 In-Reply-To: <877h65dwcy.fsf@steelpick.2x.cz>\r
45 References: <877h65dwcy.fsf@steelpick.2x.cz>\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Mon, 22 Aug 2011 20:29:56 -0000\r
59 \r
60 Emacs 23.2 queries by default about killing existing processes. This\r
61 is annoying when one wants to interrupt long search with 'q' key.\r
62 Disable this behavior for notmuch.\r
63 ---\r
64  emacs/notmuch.el |    4 +++-\r
65  1 files changed, 3 insertions(+), 1 deletions(-)\r
66 \r
67 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
68 index 3d82f0d..8858f3e 100644\r
69 --- a/emacs/notmuch.el\r
70 +++ b/emacs/notmuch.el\r
71 @@ -858,7 +858,9 @@ The optional parameters are used as follows:\r
72                        "--sort=newest-first")\r
73                      query)))\r
74           (set-process-sentinel proc 'notmuch-search-process-sentinel)\r
75 -         (set-process-filter proc 'notmuch-search-process-filter))))\r
76 +         (set-process-filter proc 'notmuch-search-process-filter)\r
77 +         (set-process-query-on-exit-flag proc nil)))\r
78 +      )\r
79      (run-hooks 'notmuch-search-hook)))\r
80  \r
81  (defun notmuch-search-refresh-view ()\r
82 -- \r
83 1.7.5.4\r
84 \r