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


View this message in rfc822 format

From: ndame <laszlomail <at> protonmail.com>
To: 53181 <at> debbugs.gnu.org
Subject: bug#53181: Live preview of regexp replace
Date: Tue, 11 Jan 2022 06:41:50 +0000
[Message part 1 (text/plain, inline)]
I've been using the visual regexp package for a while and it's really useful:

https://github.com/benma/visual-regexp.el

It would improve the core emacs experience if the built in regexp replace did this as well. When constructing a regexp replace it's really useful to see the match and the capturing groups instantly in the buffer, and also the resulting text on the fly when typing the replacement. It spares you from doing several test-fix cycles until you get the regexp replacement right, because you have an instant live preview of everything in the target buffer.

Adding this feature would benefit the default regexp replace experience a lot.
[Message part 2 (text/html, inline)]

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.