From: Mark Walters <markwalters1009@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH] emacs: tree bugfix
Date: Thu, 15 Oct 2015 19:46:34 +0100 [thread overview]
Message-ID: <1444934794-27968-1-git-send-email-markwalters1009@gmail.com> (raw)
In-Reply-To: <1439622493-18191-1-git-send-email-markwalters1009@gmail.com>
Formerly replying to an encrypted message in tree-view did not work:
the message was not decrypted. This commit makes notmuch-tree respect
the setting of notmuch-crypto-process-mime. In particular, if
notmuch-crypto-process-mime is set to t, then replying to encrypted
messages in tree mode will now decrypt the reply (as it already did in
show mode).
---
The same patch as before but with an updated commit message.
Best wishes
Mark
emacs/notmuch-tree.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index 182235e..5695b68 100644
--- a/emacs/notmuch-tree.el
+++ b/emacs/notmuch-tree.el
@@ -867,6 +867,11 @@ the same as for the function notmuch-tree."
(setq notmuch-tree-query-context query-context)
(setq notmuch-tree-target-msg target)
(setq notmuch-tree-open-target open-target)
+ ;; Set the default value for `notmuch-show-process-crypto' in this
+ ;; buffer. Although we don't use this some of the functions we call
+ ;; (such as reply) do. It is a buffer local variable so setting it
+ ;; will not affect genuine show buffers.
+ (setq notmuch-show-process-crypto notmuch-crypto-process-mime)
(erase-buffer)
(goto-char (point-min))
--
2.1.4
next prev parent reply other threads:[~2015-10-15 18:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 10:03 [Vagrant Cascadian] Bug#795243: notmuch-emacs: reply-to encrypted messages in tree view fails to quote and defaults to unencrypted message David Bremner
2015-08-12 11:39 ` David Bremner
2015-08-15 7:08 ` [PATCH] emacs: tree bugfix Mark Walters
2015-08-16 8:57 ` David Bremner
2015-10-15 18:46 ` Mark Walters [this message]
2015-10-15 19:04 ` Tomi Ollila
2015-10-17 20:56 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444934794-27968-1-git-send-email-markwalters1009@gmail.com \
--to=markwalters1009@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).