GNU bug report logs - #31953
feature request - `highlight-rx` interactively

Previous Next

Package: emacs;

Reported by: Van L <van <at> scratch.space>

Date: Sun, 24 Jun 2018 07:48:02 UTC

Severity: wishlist

Full log


Message #17 received at 31953 <at> debbugs.gnu.org (full text, mbox):

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: VanL <van <at> scratch.space>, 31953 <at> debbugs.gnu.org
Subject: Re: bug#31953: [VanL] Re: bug#31953: feature request -
 `highlight-rx` interactively
Date: Tue, 15 Oct 2019 15:39:43 +1300
On 2019-10-15 13:35, Lars Ingebrigtsen wrote:
>> I was wanting to migrate from regexp to rx syntax for highlighting.
> 
> `rx' returns a normal regexp, so you can use whatever you want, can't
> you?

I think the idea is to be able to *interactively* enter rx syntax
and have it highlighted (as opposed to `highlight-regexp' which will
obviously treat what you enter interactively as an actual regexp,
rather than something to be transformed into one).

i.e. These would be equivalent:

M-x highlight-rx RET (or "foo" "bar") RET
M-x highlight-regexp RET \(foo\|bar\) RET






This bug report was last modified 5 years and 214 days ago.

Previous Next


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