From: Glenn Morris <rgm@gnu.org>
To: 24553-done@debbugs.gnu.org
Subject: bug#24553: 25.1; epa ignores epg-gpg-program in very confusing way
Date: Fri, 10 Mar 2017 15:16:57 -0500 [thread overview]
Message-ID: <42mvcssx8m.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87twd1ep1v.fsf@ta.scs.stanford.edu> (16emacsbug@nospam.scs.stanford.edu's message of "Tue, 27 Sep 2016 01:15:40 -0700")
Version: 26.1
16emacsbug@nospam.scs.stanford.edu wrote:
> However, when it fails to decrypt, it prints the message: Error while
> decrypting with "/usr/bin/gpg1." This is obviously very frustrating
> since gpg1 can in fact decrypt the file. Ideally emacs should obey
> epg-gpg-program, but if it doesn't, it should properly report what
> failed.
Thanks for the report. The following improves the error message.
commit b2f20aa (HEAD, master)
Date: Fri Mar 10 15:14:33 2017 -0500
Small improvement for epa-display-error (bug#24553)
* lisp/epa.el (epa-display-error): Report the actual program in use.
diff --git a/lisp/epa.el b/lisp/epa.el
index 4378c09..52963b6 100644
--- a/lisp/epa.el
+++ b/lisp/epa.el
@@ -628,7 +628,7 @@ If SECRET is non-nil, list secret keys instead of public keys."
(`import-keys "Error while importing keys with \"%s\":")
(`export-keys "Error while exporting keys with \"%s\":")
(_ "Error while executing \"%s\":\n\n"))
- epg-gpg-program)
+ (epg-context-program context))
"\n\n"
(epg-context-error-output context)))
(epa-info-mode)
prev parent reply other threads:[~2017-03-10 20:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-27 8:15 bug#24553: 25.1; epa ignores epg-gpg-program in very confusing way 16emacsbug
2016-09-29 3:07 ` Nick Helm
2016-09-29 15:53 ` Daiki Ueno
2016-10-03 17:41 ` Ted Zlatanov
2017-03-10 20:16 ` Glenn Morris [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42mvcssx8m.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=24553-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.