GNU bug report logs -
#21724
25.0.50; (void-function (setf epg-context-armor))
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Wed, 21 Oct 2015 09:04:02 UTC
Severity: normal
Found in version 25.0.50
Done: Katsumi Yamaoka <yamaoka <at> jpl.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
References: <http://thread.gmane.org/gmane.emacs.diffs/132036>
On Tue, 13 Oct 2015 09:36:28 +0900, Katsumi Yamaoka wrote:
> On Sun, 11 Oct 2015 21:03:07 +0000, Nicolas Petton wrote:
>> * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token): Replace an
>> usage of `epg-context-set-armor' with `setf'.
> [...]
>> - (epg-context-set-armor context t)
>> + (setf (epg-context-armor context) t)
> This doesn't seem to be expanded properly when building Emacs:
> In end of data:
> gnus/auth-source.el:2145:1:Warning: the function `(setf epg-context-armor)' is
> not known to be defined.
> How do we fix it?
I got:
Debugger entered--Lisp error: (void-function \(setf\ epg-context-armor\))
Recipe:
$ emacs -Q
load: lisp/gnus/auth-source.elc
eval: (auth-source-epa-make-gpg-token "foo" "bar")
To fix it, epg.el(c) is required when compiling auth-source.el,
I think. Though once I merged the change to the Gnus git master,
I reverted it thereafter, since old Emacsen that Gnus supports do
not have the setf-method for epg-context-armor.
Regards,
This bug report was last modified 9 years and 213 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.