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


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Bastien <bzg <at> gnu.org>
Cc: 19829 <at> debbugs.gnu.org
Subject: bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries
Date: Thu, 12 Feb 2015 02:57:08 +0200
>> When selecting a region with C-x SPC, then M-% will suggest
>> replacement in the non-rectangular region.  I expected the
>> replacements to be suggested within the rectangular region.
>
> It would be very easy to support the rectangular region replacements
> the same way as such replacements are already supported in WDired
> where replacements are restricted to the vertical column of filenames.
>
> But the problem is that I don't see how the information about
> column positions of the selected rectangular region would be
> supplied to query-replace by region-beginning and region-end.

I wonder how do other commands that accept region-beginning/end
process the rectangular region?




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.