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 08:02:01 -0300

To: David Edmondson, notmuch@notmuchmail.org

Cc:

From: David Bremner


David Edmondson <dme@dme.org> writes:

> On Sunday, 2018-09-30 at 08:34:29 -03, David Bremner wrote:
>
>> David Edmondson <dme@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.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: