From: Leo <sdl.web@gmail.com>
To: Daiki Ueno <ueno@unixuser.org>
Cc: 6568@debbugs.gnu.org
Subject: bug#6568: 23.2; easypg opens blank buffer when password is incorrect
Date: Tue, 06 Jul 2010 10:21:04 +0100 [thread overview]
Message-ID: <m1pqz1ezjz.fsf@cam.ac.uk> (raw)
In-Reply-To: <m38w5pf14p.fsf-ueno@unixuser.org> (Daiki Ueno's message of "Tue, 06 Jul 2010 17:47:02 +0900")
On 2010-07-06 09:47 +0100, Daiki Ueno wrote:
> Basically agree. I have worndered for a long time how to implement
> this, because error handling in find-file is too complex to control.
>
> One idea is to re-throw the error in find-file-not-found-functions
> (patch attached). I'm not sure if this approach is palatable as other
> basic Emacs commands. Anyway, testing would be much appreciated.
>
> === modified file 'lisp/epa-file.el'
> --- lisp/epa-file.el 2010-01-13 08:35:10 +0000
> +++ lisp/epa-file.el 2010-07-06 08:36:24 +0000
[patch omitted]
Thank you for your prompt action on the bug. Much appreciated.
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.
Is it plausible to just signal a 'password-error?
BTW, both the magic file and find file functions seem overly complex to
me.
Leo
next prev parent reply other threads:[~2010-07-06 9:21 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 [this message]
2010-07-07 9:20 ` Daiki Ueno
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=m1pqz1ezjz.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=6568@debbugs.gnu.org \
--cc=ueno@unixuser.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 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).