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

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

Date: Mon, 01 Oct 2018 10:52:02 +0100

To: David Bremner,


From: David Edmondson

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

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

She's as sweet as Tupelo honey, she's an angel of the first degree.
notmuch mailing list