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

Previous Next

Package: emacs;

Reported by: ndame <laszlomail <at> protonmail.com>

Date: Tue, 18 Jan 2022 07:14:02 UTC

Severity: normal

Tags: patch

Merged with 53126

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: 53341 <at> debbugs.gnu.org
Cc: laszlomail <at> protonmail.com
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
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 <at> 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.




This bug report was last modified 3 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.