unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 50845@debbugs.gnu.org
Cc: ndame <laszlomail@protonmail.com>
Subject: bug#50845: Color capturing groups in query replace regexp
Date: Mon, 27 Sep 2021 15:03:16 +0200	[thread overview]
Message-ID: <87k0j2kw6j.fsf@gnus.org> (raw)
In-Reply-To: <KRGHdM2JQ_s14ZinZVCU3neDMS8QOtXxvuFgFB2TX-4-vsX0g3uD9cinczdo0_wKCIQXZGK2Y3m1emLt_BoLYqnVudfZs88aQR_TMRgu6QU=@protonmail.com> (ndame via's message of "Mon, 27 Sep 2021 12:54:45 +0000")

ndame via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

> When doing some complex capturing and replacing it could be helpful to
> see what each of the groups captured.

You don't say what Emacs version you're reporting this for, but in Emacs
28, the `isearch-group-2' and `isearch-group-1' faces are used for
this.  (That is, it's even/odd group matches.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-09-27 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 12:54 bug#50845: Color capturing groups in query replace regexp ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-27 13:03 ` Lars Ingebrigtsen [this message]
2021-09-27 13:12   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-27 13:20     ` Lars Ingebrigtsen
2021-09-27 16:08 ` bug#50845: [External] : " Drew Adams

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=87k0j2kw6j.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50845@debbugs.gnu.org \
    --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).