GNU bug report logs - #50845
Color capturing groups in query replace regexp

Previous Next

Package: emacs;

Reported by: ndame <laszlomail <at> protonmail.com>

Date: Mon, 27 Sep 2021 12:56:02 UTC

Severity: normal

Fixed in version 28.1

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 50845 <at> debbugs.gnu.org
Cc: ndame <laszlomail <at> protonmail.com>
Subject: bug#50845: Color capturing groups in query replace regexp
Date: Mon, 27 Sep 2021 15:03:16 +0200
ndame via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> 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




This bug report was last modified 3 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.