From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#6568: 23.2; easypg opens blank buffer when password is incorrect Date: Wed, 07 Jul 2010 10:53:50 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278496810 14430 80.91.229.12 (7 Jul 2010 10:00:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2010 10:00:10 +0000 (UTC) Cc: 6568@debbugs.gnu.org To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 07 12:00:08 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWRQF-000588-2F for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jul 2010 12:00:07 +0200 Original-Received: from localhost ([127.0.0.1]:47613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWRQC-00009Q-3A for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jul 2010 06:00:04 -0400 Original-Received: from [140.186.70.92] (port=39043 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWRQ0-00007j-L2 for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2010 05:59:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWRPz-0000Z8-IT for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2010 05:59:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44121) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWRPz-0000Z4-Fh for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2010 05:59:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OWRKM-00033g-7r; Wed, 07 Jul 2010 05:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jul 2010 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6568 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6568-submit@debbugs.gnu.org id=B6568.127849643711749 (code B ref 6568); Wed, 07 Jul 2010 09:54:02 +0000 Original-Received: (at 6568) by debbugs.gnu.org; 7 Jul 2010 09:53:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWRKG-00033S-HN for submit@debbugs.gnu.org; Wed, 07 Jul 2010 05:53:56 -0400 Original-Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWRKE-00033M-IS for 6568@debbugs.gnu.org; Wed, 07 Jul 2010 05:53:55 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com ([86.9.122.85]:57779 helo=Victoria.local) by ppsw-30.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1OWRKA-0001ze-fL (Exim 4.72) (return-path ); Wed, 07 Jul 2010 10:53:51 +0100 In-Reply-To: (Daiki Ueno's message of "Wed, 07 Jul 2010 18:20:28 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 07 Jul 2010 05:54:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38282 Archived-At: On 2010-07-07 10:20 +0100, Daiki Ueno wrote: > Leo 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. The patch seems to work beautifully. Thanks. What I did last time was 'emacs -q -L EMACS_SRC/lisp' but I might have compiled the wrong elisp file. Sorry about this. >> 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, Regards, Leo