GNU bug report logs - #7026
23.2; reverting a buffer that visits a gpg-encrypted file

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Sun, 12 Sep 2010 18:17:02 UTC

Severity: normal

Found in version 23.2

Done: Daiki Ueno <ueno <at> unixuser.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daiki Ueno <ueno <at> unixuser.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7026: closed (23.2; reverting a buffer that visits a
 gpg-encrypted file)
Date: Mon, 13 Sep 2010 10:46:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 13 Sep 2010 19:49:41 +0900
with message-id <m3aanlgbp6.fsf-ueno <at> unixuser.org>
and subject line Re: bug#7026: 23.2; reverting a buffer that visits a gpg-encrypted file
has caused the GNU bug report #7026,
regarding 23.2; reverting a buffer that visits a gpg-encrypted file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7026: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7026
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Roland Winkler" <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; reverting a buffer that visits a gpg-encrypted file
Date: Sun, 12 Sep 2010 12:10:34 -0500
Start `emacs -Q'
Visit a gpg-encrypted file ~/foo.gpg
Change the file on disk.
M-x revert-buffer
Emacs asks "Revert buffer from file /home/winkler/foo.gpg? (yes or no) "
Answer "yes"
Emacs will ask "foo.gpg changed on disk; really edit the buffer? ..."

I find this behavior rather irritating. What am I supposed to do to
revert the buffer?

If I answer `y', emacs says
"File on disk now will become a backup file if you save these changes."
If I answer `n', I cannot revert.



In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0)
 of 2010-05-21 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.10706000

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: en_GB.utf8
  value of $LANG: en_US.ISO-8859-15
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-9-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp


[Message part 3 (message/rfc822, inline)]
From: Daiki Ueno <ueno <at> unixuser.org>
To: "Roland Winkler" <winkler <at> gnu.org>
Cc: 7026-done <at> debbugs.gnu.org
Subject: Re: bug#7026: 23.2;
	reverting a buffer that visits a gpg-encrypted file
Date: Mon, 13 Sep 2010 19:49:41 +0900
"Roland Winkler" <winkler <at> gnu.org> writes:

> Start `emacs -Q'
> Visit a gpg-encrypted file ~/foo.gpg
> Change the file on disk.
> M-x revert-buffer
> Emacs asks "Revert buffer from file /home/winkler/foo.gpg? (yes or no) "
> Answer "yes"
> Emacs will ask "foo.gpg changed on disk; really edit the buffer? ..."
>
> I find this behavior rather irritating. What am I supposed to do to
> revert the buffer?

Thanks.  It should be fixed in r101419.

Regards,
-- 
Daiki Ueno


This bug report was last modified 14 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.