Re: [PATCH 1/2] emacs: tree: allow the user to decrypt the message pane

2016-11-02 Thread David Bremner
Mark Walters  writes:

> This makes $ in the tree pane toggle decryption in the message
> pane. Without this the user can only decrypt the message pane by
> switching to it, or by setting decryption on globally by setting
> notmuch-crypto-process-mime to t.
> ---
>
> This seems an obvious extension. It may not be very useful as most
> people who get encrypted messages probably set
> notmuch-crypto-process-mime to t.
>

pushed to master.


> As an aside might it be worth making that the default
> (notmuch-crypto-process-mime equal to t)?

that works fine for my use case, I guess the question is how many people
use a setup where they have access to secret key material only on one
machine. Also not sure what happens to people using notmuch remotely

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


[PATCH 1/2] emacs: tree: allow the user to decrypt the message pane

2016-09-21 Thread Mark Walters
This makes $ in the tree pane toggle decryption in the message
pane. Without this the user can only decrypt the message pane by
switching to it, or by setting decryption on globally by setting
notmuch-crypto-process-mime to t.
---

This seems an obvious extension. It may not be very useful as most
people who get encrypted messages probably set
notmuch-crypto-process-mime to t.

As an aside might it be worth making that the default
(notmuch-crypto-process-mime equal to t)?

Best wishes

Mark



emacs/notmuch-tree.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index 5431384..8285354 100644
--- a/emacs/notmuch-tree.el
+++ b/emacs/notmuch-tree.el
@@ -255,6 +255,7 @@ FUNC."
 (define-key map (kbd "")  (notmuch-tree-to-message-pane 
#'notmuch-show-previous-button))
 (define-key map (kbd "TAB") (notmuch-tree-to-message-pane 
#'notmuch-show-next-button))
 (define-key map "e" (notmuch-tree-to-message-pane 
#'notmuch-tree-button-activate))
+(define-key map "$" (notmuch-tree-to-message-pane 
#'notmuch-show-toggle-process-crypto))
 
 ;; bindings from show (or elsewhere) but we close the message pane first.
 (define-key map "f" (notmuch-tree-close-message-pane-and 
#'notmuch-show-forward-message))
-- 
2.1.4

___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch