bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Fri, 13 Feb 2015 22:59:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> Obviously, this infrastructure is not sufficient for query-replace, so
>> we'll need to add a `region-map-function` or something like that.
> Better would be to add a function that will return a list of positions
> of the rectangular region, i.e. while currently for the contiguous region
> region-beginning/end returns its bounds, for non-contiguous rectangular
> regions we need a list of column bounds.

That would also work, yes.  We could make region-extract-function accept
yet another value of its argument (say `positions') such that instead of
returning the textual content, it just returns a list of
(START . END) bounds.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]