From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E44E26DE16C3 for ; Sun, 12 Mar 2017 15:21:06 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id awq2n1pkBS_j for ; Sun, 12 Mar 2017 15:21:06 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 1E4316DE16C2 for ; Sun, 12 Mar 2017 15:21:06 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1cnBqg-0006G6-1v; Sun, 12 Mar 2017 18:20:22 -0400 Received: (nullmailer pid 29967 invoked by uid 1000); Sun, 12 Mar 2017 22:21:01 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Cc: tomi.ollila@iki.fi Subject: Re: emacs: use epg-gpg-program In-Reply-To: <20170312192616.13305-1-tomi.ollila@iki.fi> References: <20170312192616.13305-1-tomi.ollila@iki.fi> Date: Sun, 12 Mar 2017 19:21:01 -0300 Message-ID: <87a88qp25u.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2017 22:21:07 -0000 Tomi Ollila writes: > From: John Byrnes > > From: John Byrnes > > Adjusted notmuch-crypto gpg call-process function to respect > the GPG program set by the EasyPG epg-gpg-program variable. > > This is to correct a problem observed on NixOS where only gpg2 is > installed by default. The Notmuch Emacs frontend fails when trying to > access someone's key to verify their signature when it cannot find the > GPG binary. Following Tomi's hint on IRC I ran emacs -Q --batch --eval "(progn (package-initialize) (require 'notmuch) (message epg-gpg-program))" and it seems epg-gpg-program is defined. On the other hand can anyone think of a good reason not to add (require 'epg) to the top of notmuch-crypto.el? d