[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode'
From: |
Lars Ingebrigtsen |
Subject: |
bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode' |
Date: |
Fri, 05 Feb 2021 12:58:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> The (normal) region limits the text that replacement search
> tries to match, by bounding it. The rectangular region keeps
> the ordinary region as the domain of text that search tries
> to match, and it filters the matches against that domain to
> remove any matches that are not wholly within the limits of
> the rectangle.
Yup. It's a pretty odd design decision, though -- I wonder whether it
this happened on purpose or whether that was just the simplest way to
implement this.
I've added Juri to the CCs; perhaps he can clarify.
(The problem is that if you ask to replace "foo.*bar", and you have
foo bar bar
then `query-replace' will match the entire line, and then filter out
that match (given that we have a rectangular region that covers just
"foo bar") and not replace anything.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode',
Lars Ingebrigtsen <=
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Drew Adams, 2021/02/05
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Juri Linkov, 2021/02/07
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Lars Ingebrigtsen, 2021/02/07
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Juri Linkov, 2021/02/08
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Lars Ingebrigtsen, 2021/02/09
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Juri Linkov, 2021/02/09
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Drew Adams, 2021/02/09
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Juri Linkov, 2021/02/09
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Drew Adams, 2021/02/09
- bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode', Juri Linkov, 2021/02/09