GNU bug report logs - #24229
25.1; Can't set EPA program

Previous Next

Package: emacs;

Reported by: Nick Helm <nick <at> tenpoint.co.nz>

Date: Mon, 15 Aug 2016 06:33:02 UTC

Severity: minor

Merged with 24268

Found in version 25.1

Done: Daiki Ueno <ueno <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daiki Ueno <ueno <at> gnu.org>
To: Nick Helm <nick <at> tenpoint.co.nz>
Cc: "24229 <at> debbugs.gnu.org" <24229 <at> debbugs.gnu.org>
Subject: bug#24229: 25.1; Can't set EPA program
Date: Tue, 16 Aug 2016 21:38:28 +0200
Nick Helm <nick <at> tenpoint.co.nz> writes:

> Yes, the error still occurs when launching with: 
> emacs -Q —-eval '(setq epg-gpg-program "gpg1")'
>
> However, it doesn’t occur when launching with:
> emacs -Q --eval '(customize-save-variable (quote epg-gpg-program) "gpg1")'
>
> A quick look at `epg-find-configuration' shows it only 
> checks epg-gpg-program's saved-value symbol property; 
> if the variable is set elsewhere it is ignored.
>
> I can get around it by symlinking gpg>gpg1 but that
> kinda defeats the purpose of having the variable.

It's an intended behaviour.  If you expect all the setup behind the
scene, you need to use the Customize interface instead of 'setq'.

This is similar to the mode variables.  See:
https://www.gnu.org/software/emacs/manual/html_node/emacs/Minor-Modes.html#Minor-Modes

The documentation of the variable could be improved anyway.

Regards,
-- 
Daiki Ueno




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

Previous Next


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