[PATCH v1] emacs: Decrypt non-text/plain parts during reply generation.
David Edmondson
dme at dme.org
Sun Apr 3 11:40:23 PDT 2016
If a user replies to a message which contains encrypted parts other than
text/plain, ensure that the parts are decrypted when generating the
cited text of the reply.
---
emacs/notmuch-mua.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index cfdac0e..9bd3c82 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -248,7 +248,11 @@ mutiple parts get a header."
;; Don't omit long parts.
(notmuch-show-max-text-part-size 0)
;; Insert headers for parts as appropriate for replying.
- (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function))
+ (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function)
+ ;; Ensure that any encrypted parts are
+ ;; decrypted during the generation of the reply
+ ;; text.
+ (notmuch-show-process-crypto process-crypto))
(notmuch-show-insert-body original (plist-get original :body) 0)
(buffer-substring-no-properties (point-min) (point-max)))))
--
2.1.4
More information about the notmuch
mailing list