[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53181: Live preview of regexp replace
From: |
Juri Linkov |
Subject: |
bug#53181: Live preview of regexp replace |
Date: |
Tue, 11 Jan 2022 19:58:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> 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