unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daiki Ueno <ueno@unixuser.org>
To: Leo <sdl.web@gmail.com>
Cc: 6568@debbugs.gnu.org
Subject: bug#6568: 23.2; easypg opens blank buffer when password is incorrect
Date: Wed, 07 Jul 2010 18:20:28 +0900	[thread overview]
Message-ID: <m3lj9nwsv7.fsf-ueno@unixuser.org> (raw)
In-Reply-To: <m1pqz1ezjz.fsf@cam.ac.uk> (Leo's message of "Tue, 06 Jul 2010 10:21:04 +0100")

Leo <sdl.web@gmail.com> writes:

> On 2010-07-06 09:47 +0100, Daiki Ueno wrote:
> I have just tested the patch with emacs 23.2 and as far as I can see the
> blank buffer is still opened with incorrect passwords or typing C-g at
> the password prompt.

Hmm, using the same version and having epa-file.el manually eval'ed, it
works for me.

> Is it plausible to just signal a 'password-error?

No - because epa-file-insert-file-contents may be called not only from
find-file but also from functions which expect file-error rather than
password-error.

Regards,
-- 
Daiki Ueno





  reply	other threads:[~2010-07-07  9:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 16:00 bug#6568: 23.2; easypg opens blank buffer when password is incorrect Leo
2010-07-06  8:47 ` Daiki Ueno
2010-07-06  9:21   ` Leo
2010-07-07  9:20     ` Daiki Ueno [this message]
2010-07-07  9:53       ` Leo
     [not found]   ` <87sk3vi6pv.fsf@stupidchicken.com>
2010-07-08  1:20     ` Daiki Ueno

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lj9nwsv7.fsf-ueno@unixuser.org \
    --to=ueno@unixuser.org \
    --cc=6568@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).