help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverting but keeping undo


From: Barry OReilly
Subject: Re: Reverting but keeping undo
Date: Fri, 31 May 2013 12:49:29 -0400

> To be clear: I don't want an additional prompt for confirmation,
> just a short message in the minibuffer, like
>
> [Undo: undoing `revert-buffer']
>
> Because there are cases when the user (I) would want to stop at that
> point.

I don't see why revert-buffer would be singled out, since many
different commands cause buffer changes.

If it were implemented, it may be better to generalize it to allow
any undo to have an annotation of what caused the change. Then the
user would set a defcustom for whether to echo an undo's annotation
while undoing. I could foresee Undo Tree's visualization displaying
the annotation next to its nodes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]