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

2017-01-25 Thread Tomi Ollila
On Wed, Jan 04 2017, John Byrnes wrote: > Hey Notmuchers, > > I'm running the latest NixOS and noticed that the system does not > install gpgv1 by default. This means that the only gpg binary available > is the gpg2 binary. > > I found that notmuch-crypto.el hardcodes the

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

2017-01-04 Thread Tomi Ollila
On Thu, Jan 05 2017, John Byrnes wrote: >> I think this is reasonable. We're already setting epg-gpg-program in >> test/test-lib.sh, and in debian, epg-gpg-program is provided by >> epg-config.el, which is part of emacs$VERSION-el, which is a dependency >> of

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

2017-01-04 Thread John Byrnes
Hi Tomi, > Well, I don't know how to add epg-gpg-program to this fedora 25 > installation... epg-gpg-program is an elisp variable which points to the actual GnuPG binary on your system. You can customize this by setting it in your init.el or in the Emacs customization mode. Best regards, John

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

2017-01-04 Thread John Byrnes
> I think this is reasonable. We're already setting epg-gpg-program in > test/test-lib.sh, 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

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

2017-01-04 Thread Tomi Ollila
On Wed, Jan 04 2017, Daniel Kahn Gillmor wrote: > On Tue 2017-01-03 21:55:48 -0500, John Byrnes wrote: >> I'm running the latest NixOS and noticed that the system does not >> install gpgv1 by default. This means that the only gpg binary available >> is the gpg2 binary. >>

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

2017-01-04 Thread Daniel Kahn Gillmor
On Tue 2017-01-03 21:55:48 -0500, John Byrnes wrote: > I'm running the latest NixOS and noticed that the system does not > install gpgv1 by default. This means that the only gpg binary available > is the gpg2 binary. > > I found that notmuch-crypto.el hardcodes the GnuPG binary as gpg. I >

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

2017-01-03 Thread John Byrnes
Hey Notmuchers, I'm running the latest NixOS and noticed that the system does not install gpgv1 by default. This means that the only gpg binary available is the gpg2 binary. I found that notmuch-crypto.el hardcodes the GnuPG binary as gpg. I thought it might make more sense to rely on the