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

David Bremner david at tethera.net
Mon Oct 1 04:02:01 PDT 2018


David Edmondson <dme at dme.org> writes:

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

I guess renaming the variable and documenting it as used only for key
retrieval would help both questions here.


More information about the notmuch mailing list