On 4. Sep 2023, at 20:03, Dmitry Gutov <dmitry@gutov.dev> wrote:

On 04/09/2023 20:15, Juri Linkov wrote:
So below is a command that does the same for replace-string.
Instead of boringly typing a long sequence of y y y y y y y ...
to check if all replacements are correct, now it will be possible
to preview the diff buffer that will take much less time:

A diff buffer for all the replacements combined? That's pretty cool.


That’d be just like  https://github.com/benma/visual-regexp.el and that’s why I’m using that. OTOH it’s for string replacement only; no code refactoring. But perhaps the UI could be used da source of inspiration?