[PATCH v2 3/4] emacs: Add notmuch-crypto-gpg-program and use it

David Edmondson dme at dme.org
Mon Oct 1 02:52:02 PDT 2018


On Sunday, 2018-09-30 at 08:34:29 -03, David Bremner wrote:

> David Edmondson <dme at dme.org> writes:
>
>> Allow the user to specify the gpg program to use when retriving keys,
>> etc., defaulting to the value of `epg-gpg-program'.
>
> typo in retriving.

Will fix.

> More interestingly, would you mind documenting the use case in the
> commit message? I'm unclear on a couple points
>
> - why one needs a different gpg for key retrieval

I want to use “gpg” for most operations that deal with encryption within
emacs, but when using notmuch remotely over an ssh connection (that is
the UI and database on different machines) I need to update the keyring
on the database machine so that notmuch itself sees the key, not the
keyring on my local machine (arguably I need to update both, but hey),
so use “ssh <server> gpg” instead.

> - whether the new variable is just for key retrieval, or as the name
>   notmuch-crypto-gpg-program suggests, all crypto operations from notmuch.

Just for key retrieval.

dme.
-- 
She's as sweet as Tupelo honey, she's an angel of the first degree.


More information about the notmuch mailing list