[notmuch] gpg decryption
Sebastian Spaeth
Sebastian at SSpaeth.de
Mon Mar 8 03:52:06 PST 2010
On 2010-03-08, Sebastian Spaeth wrote:
> My bank frequently sends me transactions as an inline-armored gpg
> encrypted text. So I added the below 2 lines in my .emacs and added this
> function to the list of notmuch-show-hook functions:
>
> (defun spaetz/decrypt ()
> (epa-decrypt-armor-in-region (point-min) (point-max)))
Uhh, and you will have to load somehow the "epa" library that comes with
emacs included. I use the below in my .emacs
;enable gpg integration for transparent .gpg file decryption
(require 'epa-file)
(epa-file-enable)
More information about the notmuch
mailing list