[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19829: 25.0.50; query-replace in rectangle regions do not honor boun
From: |
Stefan Monnier |
Subject: |
bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries |
Date: |
Thu, 12 Feb 2015 09:33:29 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> I wonder how do other commands that accept region-beginning/end
> process the rectangular region?
Well, there's the source code to help you find out, of course.
More seriously, the rectangle support (can be rect.el or cua-rect.el)
code sets up `region-extract-function' and commands that need to operate
on the region should then call `region-extract-function' instead of
relying on region-beginning/end.
Obviously, this infrastructure is not sufficient for query-replace, so
we'll need to add a `region-map-function` or something like that.
Stefan
PS: when designing this interface I had in mind potential future
non-rectangular (and non-contiguous) regions, such as those that one can
define in some systems (e.g. file-managers) via "control-click".
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Bastien, 2015/02/10
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Juri Linkov, 2015/02/10
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Juri Linkov, 2015/02/11
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries,
Stefan Monnier <=
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Juri Linkov, 2015/02/12
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Stefan Monnier, 2015/02/13
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Juri Linkov, 2015/02/18
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Stefan Monnier, 2015/02/18
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Juri Linkov, 2015/02/19
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Stefan Monnier, 2015/02/19
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Juri Linkov, 2015/02/23
- bug#19829: 25.0.50; query-replace in rectangle regions do not honor boundaries, Bastien, 2015/02/19