GNU bug report logs - #19829
25.0.50; query-replace in rectangle regions do not honor boundaries

Previous Next

Package: emacs;

Reported by: Bastien <bzg <at> gnu.org>

Date: Tue, 10 Feb 2015 15:00:02 UTC

Severity: normal

Merged with 20070, 20626

Found in versions 24.3, 25.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> linkov.net>
Cc: Bastien <bzg <at> gnu.org>, 19829 <at> debbugs.gnu.org
Subject: Re: bug#19829: 25.0.50;
 query-replace in rectangle regions do not honor boundaries
Date: Thu, 19 Feb 2015 16:29:52 -0500
> This is true generally, but query-replace is a very special command.
> It already does many unorthodox things like putting markers on
> region boundaries, and then deactivating the mark.  What is more,
> it needs to use rectangle boundaries in isearch-filter-predicate,
> so lazy-highlight will match only strings it's going to replace.

I don't see how that's relevant: always calling
extract-rectangle-position should simply work (the normal region is just
a degenerate form of a special region, which has only one span), at
least as long as the rectangle case works correctly.


        Stefan




This bug report was last modified 9 years and 195 days ago.

Previous Next


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