1 Return-Path: <dme@dme.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 arlo.cworth.org (Postfix) with ESMTP id 316136DE01C2
\r
6 for <notmuch@notmuchmail.org>; Sun, 3 Apr 2016 11:40:36 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.17 tagged_above=-999 required=5 tests=[AWL=-0.103,
\r
12 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,
\r
13 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652,
\r
14 UNPARSEABLE_RELAY=0.001] autolearn=disabled
\r
15 Received: from arlo.cworth.org ([127.0.0.1])
\r
16 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id 0NJw8T4s2p9z for <notmuch@notmuchmail.org>;
\r
18 Sun, 3 Apr 2016 11:40:28 -0700 (PDT)
\r
19 Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com
\r
21 by arlo.cworth.org (Postfix) with ESMTPS id A4FF06DE0159
\r
22 for <notmuch@notmuchmail.org>; Sun, 3 Apr 2016 11:40:27 -0700 (PDT)
\r
23 Received: by mail-lf0-f65.google.com with SMTP id c62so19536106lfc.2
\r
24 for <notmuch@notmuchmail.org>; Sun, 03 Apr 2016 11:40:27 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=dme-org.20150623.gappssmtp.com; s=20150623;
\r
27 h=from:to:subject:date:message-id;
\r
28 bh=DXjpIUP75UvJO6u1ldprwaW+6tY8wlODFcRLSIt1EFk=;
\r
29 b=cydRT5PYtQA6gTJQjJiyyUpQ5K5xz1x7/7yEzpT1Qt2eGhi7WJVvZkOMKiqQf6OYB1
\r
30 yqq0yicwXO3ZSIa2gEASTx8NSlupkihZQu8r/ekd/Q8WQukjLkrPfgeqgPU0yW6geD+3
\r
31 9hxXKA/1hQvy/ktf2QtFRXfEQC7zmuty4tVuctMF8xfoX5wf93tM38kKhJKpaY/lC35J
\r
32 t0RuNl39Qd/sd5xiNxkjVGfZX3pIsiwtrwJrrazHy5b3d0SdOhjT0AkXDIJTs6O9Bwto
\r
33 XISgce0Iqv9BoTngOLStqSKL/BrSSFxGMq1k0raa5GsGzDKh5ck5vBfaRaYH9/Lp81KS
\r
35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
36 d=1e100.net; s=20130820;
\r
37 h=x-gm-message-state:from:to:subject:date:message-id;
\r
38 bh=DXjpIUP75UvJO6u1ldprwaW+6tY8wlODFcRLSIt1EFk=;
\r
39 b=k9WKQowyX2qmF8lRLlQrUOPFR5AG1+eI5IFCP4AHWefkiltKfd6o4r7dt6PTsoohjO
\r
40 V+ZYbEBVU43n0b2kK1eTYymQPQtaNJHi1gkGVD4Uw+h1hEOSf/de/+y+2jE7p0Oj5O8J
\r
41 yRfLSJDQwkexB1T4vO4kU33LQ17NACXw1q0x6aizcccRxXya1knInbKFzyAOGh7E3CYA
\r
42 lueoIqcMTwUtw7V6pbT9rGa3+Y0VzJ7K6IT4q8VleIgi6ZUdCT1JIqMc3yKeP9o8clZh
\r
43 qMEZLgm/M8if7IoT7mgXsU4SW+rv6eYg6E8khvEPgwA/l9JZuvJcrsTSwCPyUJoae4RN
\r
46 AD7BkJI7ms2t8kJqrIFZWA0gaeK/i+0WijuDQBqJKRE+oIuLclwqP/cMzgtp1kRQUZfB2w==
\r
47 X-Received: by 10.194.157.65 with SMTP id wk1mr496816wjb.83.1459708825488;
\r
48 Sun, 03 Apr 2016 11:40:25 -0700 (PDT)
\r
49 Received: from disaster-area.hh.sledj.net
\r
50 ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])
\r
51 by smtp.gmail.com with ESMTPSA id kj9sm25104388wjb.14.2016.04.03.11.40.24
\r
52 for <notmuch@notmuchmail.org>
\r
53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
54 Sun, 03 Apr 2016 11:40:24 -0700 (PDT)
\r
55 Received: from localhost (disaster-area.hh.sledj.net [local])
\r
56 by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 119113cd
\r
57 for <notmuch@notmuchmail.org>; Sun, 3 Apr 2016 18:40:23 +0000 (UTC)
\r
58 From: David Edmondson <dme@dme.org>
\r
59 To: notmuch@notmuchmail.org
\r
60 Subject: [PATCH v1] emacs: Decrypt non-text/plain parts during reply
\r
62 Date: Sun, 3 Apr 2016 19:40:23 +0100
\r
63 Message-Id: <1459708823-1852-1-git-send-email-dme@dme.org>
\r
64 X-Mailer: git-send-email 2.1.4
\r
65 X-BeenThere: notmuch@notmuchmail.org
\r
66 X-Mailman-Version: 2.1.20
\r
68 List-Id: "Use and development of the notmuch mail system."
\r
69 <notmuch.notmuchmail.org>
\r
70 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
73 List-Post: <mailto:notmuch@notmuchmail.org>
\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
75 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
76 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
77 X-List-Received-Date: Sun, 03 Apr 2016 18:40:36 -0000
\r
79 If a user replies to a message which contains encrypted parts other than
\r
80 text/plain, ensure that the parts are decrypted when generating the
\r
81 cited text of the reply.
\r
83 emacs/notmuch-mua.el | 6 +++++-
\r
84 1 file changed, 5 insertions(+), 1 deletion(-)
\r
86 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
87 index cfdac0e..9bd3c82 100644
\r
88 --- a/emacs/notmuch-mua.el
\r
89 +++ b/emacs/notmuch-mua.el
\r
90 @@ -248,7 +248,11 @@ mutiple parts get a header."
\r
91 ;; Don't omit long parts.
\r
92 (notmuch-show-max-text-part-size 0)
\r
93 ;; Insert headers for parts as appropriate for replying.
\r
94 - (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function))
\r
95 + (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function)
\r
96 + ;; Ensure that any encrypted parts are
\r
97 + ;; decrypted during the generation of the reply
\r
99 + (notmuch-show-process-crypto process-crypto))
\r
100 (notmuch-show-insert-body original (plist-get original :body) 0)
\r
101 (buffer-substring-no-properties (point-min) (point-max)))))
\r