1 Return-Path: <markwalters1009@gmail.com>
\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 arlo.cworth.org (Postfix) with ESMTP id 5F6816DE021E
\r
6 for <notmuch@notmuchmail.org>; Sat, 15 Aug 2015 00:08:26 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.570,
\r
12 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,
\r
15 RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled
\r
16 Received: from arlo.cworth.org ([127.0.0.1])
\r
17 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
18 with ESMTP id B4kHz8yqdo_M for <notmuch@notmuchmail.org>;
\r
19 Sat, 15 Aug 2015 00:08:24 -0700 (PDT)
\r
20 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com
\r
22 by arlo.cworth.org (Postfix) with ESMTPS id 4D23D6DE1003
\r
23 for <notmuch@notmuchmail.org>; Sat, 15 Aug 2015 00:08:24 -0700 (PDT)
\r
24 Received: by wicja10 with SMTP id ja10so34510868wic.1
\r
25 for <notmuch@notmuchmail.org>; Sat, 15 Aug 2015 00:08:22 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:in-reply-to:references;
\r
28 bh=KtoNQF59UZsQqKbZrYUO7kQLBR9pQPRZmh++KYevpLU=;
\r
29 b=sH+BKVSJ6WyKfOpNN3RO8lQd/SObgAc7YwVkat0cn2bAWxwRn9fp2dbBfTmAdgjCHd
\r
30 kab4V7Kb1d1A6Nj6PsPeN1DqGJJSG3E7xgK7EeSIA3M74Z8H9xJQf38pona1395UjyGj
\r
31 6dSUTt3dV4/jWebNUwv350mimupCUFaCaQX17ra+JIDlDAAGN9hpLzBHL6yYoVWI3hPK
\r
32 NCk4AIqm8BDVaU6cYUXoE34pXhWqbwtR9cc6JISeJ1hb2yIDEm/4XRkbgf+TVzNmiFIv
\r
33 lf14EaVO35cfo04EXvwZBYQGF8qMB9QYo/2gKPp3z23OZ3EGRLNJceeMC093vAR2HUSf
\r
35 X-Received: by 10.181.13.230 with SMTP id fb6mr13768632wid.47.1439622502584;
\r
36 Sat, 15 Aug 2015 00:08:22 -0700 (PDT)
\r
37 Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])
\r
38 by smtp.gmail.com with ESMTPSA id mc18sm6482531wic.23.2015.08.15.00.08.21
\r
39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
40 Sat, 15 Aug 2015 00:08:21 -0700 (PDT)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH] emacs: tree bugfix
\r
44 Date: Sat, 15 Aug 2015 08:08:13 +0100
\r
45 Message-Id: <1439622493-18191-1-git-send-email-markwalters1009@gmail.com>
\r
46 X-Mailer: git-send-email 2.1.4
\r
47 In-Reply-To: <87d1ys7n1s.fsf@maritornes.cs.unb.ca>
\r
48 References: <87d1ys7n1s.fsf@maritornes.cs.unb.ca>
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.18
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Sat, 15 Aug 2015 07:08:26 -0000
\r
63 Formerly replying to an encrypted message in tree-view did not
\r
64 work. This is a first attempt to make it work.
\r
67 notmuch-mua-reply decides whether to process crypto based on the
\r
68 buffer-local variable notmuch-show-process-crypto. This sets to its
\r
69 default value (which is notmuch-crypto-process-mime) in tree-mode
\r
72 As I do not have any crypto setup please can someone test? You will
\r
73 need to set notmuch-crypto-process-mime to t first: I have no idea if
\r
74 that is a bad thing to do! Any comments on whether it is a bad thing
\r
75 would be very useful as (assuming this bascically fixes the problem)
\r
76 the easy actual fix is to do this and let the user toggle
\r
77 process-crypto for the whole tree buffer.
\r
84 emacs/notmuch-tree.el | 5 +++++
\r
85 1 file changed, 5 insertions(+)
\r
87 diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
\r
88 index 182235e..5695b68 100644
\r
89 --- a/emacs/notmuch-tree.el
\r
90 +++ b/emacs/notmuch-tree.el
\r
91 @@ -867,6 +867,11 @@ (defun notmuch-tree-worker (basic-query &optional query-context target open-targ
\r
92 (setq notmuch-tree-query-context query-context)
\r
93 (setq notmuch-tree-target-msg target)
\r
94 (setq notmuch-tree-open-target open-target)
\r
95 + ;; Set the default value for `notmuch-show-process-crypto' in this
\r
96 + ;; buffer. Although we don't use this some of the functions we call
\r
97 + ;; (such as reply) do. It is a buffer local variable so setting it
\r
98 + ;; will not affect genuine show buffers.
\r
99 + (setq notmuch-show-process-crypto notmuch-crypto-process-mime)
\r
102 (goto-char (point-min))
\r