Subject: Re: bug#6568: 23.2; easypg opens blank buffer when password is incorrect

From: Daiki Ueno <[email-masked]>
Date: Wed, 07 Jul 2010 18:20:28 +0900

Leo <[email-masked]> 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