[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53341: 29.0.50; [PATCH] Lazy highlight/count when reading query-repl
From: |
Augusto Stoffel |
Subject: |
bug#53341: 29.0.50; [PATCH] Lazy highlight/count when reading query-replace string, etc. |
Date: |
Tue, 18 Jan 2022 09:04:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
On Tue, 18 Jan 2022 at 07:13, ndame via "Bug reports for GNU Emacs, the Swiss
army knife of text editors" <bug-gnu-emacs@gnu.org> wrote:
>> one nice feature from that package, namely the highlighting and count of
>> matches
>> as one types a regexp or string to replace
>
> Highlighting the typed regexp in the buffer can be useful for other commands
> too,
> e.g. highlight-regexp
>
> It could be implemented in a generic way, so other commands can also use this
> facility.
That's the idea. You can look at the changes around
`isearch-edit-string' in my patch to see how it's done (comments are
welcome, of course).
PS: I'll resume working on this in a couple of weeks.