GNU bug report logs - #21684
25.0.50; undo in query-replace w/o exit

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Wed, 14 Oct 2015 13:24:01 UTC

Severity: wishlist

Tags: patch

Found in version 25.0.50

Fixed in version 26.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Tino Calancha <f92capac <at> gmail.com>
Cc: 21684 <at> debbugs.gnu.org, Richard Stallman <rms <at> gnu.org>
Subject: bug#21684: 25.0.50; undo in query-replace w/o exit
Date: Tue, 20 Oct 2015 01:04:34 +0300
> 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).




This bug report was last modified 8 years and 263 days ago.

Previous Next


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