unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: 53181@debbugs.gnu.org, Augusto Stoffel <arstoffel@gmail.com>
Subject: bug#53181: Live preview of regexp replace
Date: Tue, 11 Jan 2022 13:28:54 +0000	[thread overview]
Message-ID: <lRSbrntalsxCWnBPu-D-ypSrHVP2jzzZktbyySWV4JiY4NZFjaxdGC8Tc8D-blITGiFli7vZpmoPgee2hD2BSuzn-VZD6hz4Q8ykoUGj_5g=@protonmail.com> (raw)
In-Reply-To: <868rvmiqrj.fsf@mail.linkov.net>


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






  reply	other threads:[~2022-01-11 13:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11  6:41 bug#53181: Live preview of regexp replace ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-11  9:04 ` Juri Linkov
2022-01-11 13:28   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-01-11 17:58     ` Juri Linkov
2022-01-11 18:27       ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-13  7:23       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lRSbrntalsxCWnBPu-D-ypSrHVP2jzzZktbyySWV4JiY4NZFjaxdGC8Tc8D-blITGiFli7vZpmoPgee2hD2BSuzn-VZD6hz4Q8ykoUGj_5g=@protonmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=53181@debbugs.gnu.org \
    --cc=arstoffel@gmail.com \
    --cc=juri@linkov.net \
    --cc=laszlomail@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).