all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7026: 23.2; reverting a buffer that visits a gpg-encrypted file
@ 2010-09-12 17:10 Roland Winkler
  2010-09-13 10:49 ` Daiki Ueno
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Winkler @ 2010-09-12 17:10 UTC (permalink / raw)
  To: 7026

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#7026: 23.2; reverting a buffer that visits a gpg-encrypted file
  2010-09-12 17:10 bug#7026: 23.2; reverting a buffer that visits a gpg-encrypted file Roland Winkler
@ 2010-09-13 10:49 ` Daiki Ueno
  0 siblings, 0 replies; 2+ messages in thread
From: Daiki Ueno @ 2010-09-13 10:49 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 7026-done

"Roland Winkler" <winkler@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-13 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-12 17:10 bug#7026: 23.2; reverting a buffer that visits a gpg-encrypted file Roland Winkler
2010-09-13 10:49 ` Daiki Ueno

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.