[PATCH] emacs: tree bugfix

Tomi Ollila tomi.ollila at iki.fi
Thu Oct 15 12:04:21 PDT 2015


On Thu, Oct 15 2015, Mark Walters <markwalters1009 at gmail.com> wrote:

> 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.

This looks tolerable to me...

Tomi


>
> 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
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list