GNU bug report logs - #8447
Undoing M-x revert-buffer

Previous Next

Package: emacs;

Reported by: Hrvoje Nikšić <hniksic <at> gmail.com>

Date: Fri, 8 Apr 2011 16:17:02 UTC

Severity: wishlist

Merged with 10776

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 8447 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Hrvoje Nikšić <hniksic <at> gmail.com>
Cc: 8447 <at> debbugs.gnu.org
Subject: Re: bug#8447: Undoing M-x revert-buffer
Date: Fri, 08 Apr 2011 22:49:54 -0300
> It would be nice to be able to undo a revert-buffer operation.

So do I.  I've been using a local patch to do that, actually.  IIRC back
when I wrote it, RMS opposed the change.  I think my change only
affected the "revert while keeping the same major-mode" such as the
revert performed silently by auto-revert-mode and VC operations.  It has
bit-rotted somewhat, but I remember that the current code works hard at
forgetting the undo data (it does it once at the Lisp level and another
time inside insert-file-contents).


        Stefan




This bug report was last modified 11 years and 364 days ago.

Previous Next


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