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

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

bug#21684: 25.0.50; undo in query-replace w/o exit


From: Juri Linkov
Subject: bug#21684: 25.0.50; undo in query-replace w/o exit
Date: Tue, 20 Oct 2015 01:04:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu)

> The patch replace-3.patch in this thread implements such interactive undo
> and binds the new funtionality to keys "u" and "U".

Please note that usually the upper-case "U" applies to all
elements in the set such as e.g. in Dired the lower-case "u"
is bound to a single-mark dired-unmark whereas the upper-case "U"
is bound to dired-unmark-all-marks, etc.

For query-replace this means that better would be to bind the
upper-case "U" to a new operation undo-all that could be easy to
implement in the same branch with (or (eq def 'undo) (eq def 'undo-all))
and looping until the top of the stack when (eq def 'undo-all).





reply via email to

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