Re: [PATCH] [EMACS] Adjust notmuch-crypto gpg call-process function

Subject: Re: [PATCH] [EMACS] Adjust notmuch-crypto gpg call-process function

Date: Thu, 05 Jan 2017 00:19:02 +0200

To: John Byrnes, Daniel Kahn Gillmor


From: Tomi Ollila

On Thu, Jan 05 2017, John Byrnes <> wrote:

>> I think this is reasonable.  We're already setting epg-gpg-program in
>> test/, and in debian, epg-gpg-program is provided by
>> epg-config.el, which is part of emacs$VERSION-el, which is a dependency
>> of emacs$VERSION-common.
> I believe that epg is part of the standard emacs packages now.  It
> should be available wherever Emacs is.

I found that epg-gpg-program -- thanks -- the problem was that i typoed
this epg (i think egp or something -- it's so hard... ;)

>> If we wanted to be extra careful, we could try to make it fall back to
>> plain "gpg" if epg-gpg-program is unset.

Just tested -- GNU Emacs 23.1.1 has /usr/share/emacs/23.1/lisp/epg-config.elc
and that defines epg-gpg-program (so definitely all (yet supported and)
non-deprecated emacs versions have it.