unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53341: 29.0.50; [PATCH] Lazy highlight/count when reading query-replace string, etc.
@ 2022-01-18  7:13 ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-01-18  8:04 ` Augusto Stoffel
  0 siblings, 1 reply; 2+ messages in thread
From: ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-18  7:13 UTC (permalink / raw)
  To: 53341

>  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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#53341: 29.0.50; [PATCH] Lazy highlight/count when reading query-replace string, etc.
  2022-01-18  7:13 bug#53341: 29.0.50; [PATCH] Lazy highlight/count when reading query-replace string, etc ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-01-18  8:04 ` Augusto Stoffel
  0 siblings, 0 replies; 2+ messages in thread
From: Augusto Stoffel @ 2022-01-18  8:04 UTC (permalink / raw)
  To: 53341; +Cc: laszlomail

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-18  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18  7:13 bug#53341: 29.0.50; [PATCH] Lazy highlight/count when reading query-replace string, etc ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-18  8:04 ` Augusto Stoffel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).