GNU bug report logs -
#56522
28.1.50; Mismatch data after replace undo
Previous Next
To reply to this bug, email your comments to 56522 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
tino.calancha <at> gmail.com, bug-gnu-emacs <at> gnu.org
:
bug#56522
; Package
emacs
.
(Tue, 12 Jul 2022 17:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juri Linkov <juri <at> linkov.net>
:
New bug report received and forwarded. Copy sent to
tino.calancha <at> gmail.com, bug-gnu-emacs <at> gnu.org
.
(Tue, 12 Jul 2022 17:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
X-Debbugs-CC: Tino Calancha <tino.calancha <at> gmail.com>
Something is wrong with next-replacement that is not updated
after Undo in perform-replace. The minimal test case:
1. add to a buffer such text:
a! b? .
2. then invoke query-replace-regexp with such regexp:
Query replace regexp: \([!?]\) → <\1>
3. then type:
y u n y (i.e. yes, undo, no, yes - that should undo,
leave the first match unchanged, and replace the second)
4. observe the result:
a! b<!> .
i.e. the match data in next-replacement for the second match
comes from the first match.
This bug report was last modified 2 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.