GNU bug report logs - #53181
Live preview of regexp replace

Previous Next

Package: emacs;

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

Date: Tue, 11 Jan 2022 06:43:02 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 53181 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: ndame <laszlomail <at> protonmail.com>
Cc: 53181 <at> debbugs.gnu.org, Augusto Stoffel <arstoffel <at> gmail.com>
Subject: Re: bug#53181: Live preview of regexp replace
Date: Tue, 11 Jan 2022 19:58:40 +0200
>> This is exactly what Augusto is currently doing in bug#53126.
>
> I checked it and it's not the same. It says:
>
> " the highlighting and count of matches as one types a regexp or string to
> replace in `query-replace{-regexp}'."
>
> So it may do the first part, the highlighting of the regexp pattern while typing,
> but it does not seem to do the second part, that is showing the replacement effects
> in the buffer immediately as the user types the replacement text or pattern.
>
> The second part is just as important, because that shows if the actual replacement
> is correct or it needs some tweaking before starting replacing.

Augusto is porting the package anzu to the core, and anzu implemented
the second part that shows the replacement effects immediately:

https://github.com/emacsorphanage/anzu.git




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

Previous Next


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