unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Ergus <spacibba@aol.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Query replace question
Date: Thu, 17 Mar 2022 19:03:58 +0200	[thread overview]
Message-ID: <86ee305xi9.fsf@mail.linkov.net> (raw)
In-Reply-To: <20220317111952.zwm7bmvtsdnede7i@Ergus> (Ergus's message of "Thu,  17 Mar 2022 12:19:52 +0100")

> I am wondering if there is some functionality in vanilla to enable
> dynamic match highlight during query replace or query-replace regex
> while composing the regex? Similar to isearch lazy highlight,
> regex-highlight or re-builder; but for query-replace and the rest of the
> replace family?
>
> I feel very uncomfortable not getting a feedback while writing the regex
> during the query-replace-regex. Specially when the regex is a bit
> complex, uses capture groups or so. I am sure some others have had a
> similar experience and I will be surprised that no solution will be
> already implemented.
>
> Any idea?

This is exactly what is currently under development in bug#53126.



  parent reply	other threads:[~2022-03-17 17:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220317111952.zwm7bmvtsdnede7i.ref@Ergus>
2022-03-17 11:19 ` Query replace question Ergus
2022-03-17 11:30   ` Robert Pluim
2022-03-17 14:40     ` Eric Abrahamsen
2022-03-17 17:03   ` Juri Linkov [this message]
2022-03-17 18:49   ` Stefan Monnier via Users list for the GNU Emacs text editor

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=86ee305xi9.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=spacibba@aol.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.
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).