Subject: bug#53341: 29.0.50; [PATCH] Lazy highlight/count when reading query-replace string, etc.

From: Augusto Stoffel <[email-masked]>
Date: Tue, 18 Jan 2022 09:04:48 +0100

On Tue, 18 Jan 2022 at 07:13, ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]> 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.