GNU bug report logs - #24553
25.1; epa ignores epg-gpg-program in very confusing way

Previous Next

Package: emacs;

Reported by: 16emacsbug <at> nospam.scs.stanford.edu

Date: Tue, 27 Sep 2016 09:08:01 UTC

Severity: normal

Found in version 25.1

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 24553 <at> debbugs.gnu.org (full text, mbox):

From: Ted Zlatanov <tzz <at> lifelogs.com>
To: Daiki Ueno <ueno <at> gnu.org>
Cc: 24553 <at> debbugs.gnu.org, Nick Helm <nick <at> tenpoint.co.nz>
Subject: Re: bug#24553: 25.1; epa ignores epg-gpg-program in very confusing way
Date: Mon, 03 Oct 2016 13:41:19 -0400
On Thu, 29 Sep 2016 17:53:09 +0200 Daiki Ueno <ueno <at> gnu.org> wrote: 

DU> Nick Helm <nick <at> tenpoint.co.nz> writes:
>>> I need to edit some files that decrypt properly with gpg 1.4 but not gpg
>>> 2.1.  I have both installed on my system, with 1.4 as /usr/bin/gpg1 and
>>> 2.1 as /usr/bin/gpg2.  The bug is that emacs ignores the epg-gpg-program
>>> variable *except* in error messages, which is very confusing.  
>> 
>>> Ideally emacs should obey epg-gpg-program ...
>> 
>> I have a similar problem with epg-gpg-program. See bug#24229
>> (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24229) for some
>> discussion that might be relevant.

DU> And I want to close this as a duplicate of that bug.  Is there still
DU> anything we can technically do for this?  Isn't it enough to suggest:

DU>   M-: (custom-set-variables '(epg-gpg-program "gpg1" t))

DU> instead of setq?

Respectfully, the usability bug here is different: EPA/EPG only uses the
customized value, while the log message only uses the actual value in
the variable. So the log messages should be adjusted, if you want to
keep using the customized value only in EPA/EPG. And perhaps they should
catch and mention the case where the customized value is not the same as
the variable value, again for usability's sake.

HTH
Ted




This bug report was last modified 8 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.