GNU bug report logs - #60794
[PATCH] (rainbow.el) Add matching option to rainbow-colorize-hexadecimal-without-sharp

Previous Next

Package: emacs;

Reported by: Dimitri Belopopsky <dimitri <at> belopopsky.com>

Date: Fri, 13 Jan 2023 23:40:02 UTC

Severity: wishlist

Tags: patch

Full log


View this message in rfc822 format

From: Dimitri Belopopsky <dimitri <at> belopopsky.com>
To: 60794 <at> debbugs.gnu.org
Subject: bug#60794: [PATCH] (rainbow.el) Add matching option to rainbow-colorize-hexadecimal-without-sharp
Date: Fri, 13 Jan 2023 21:24:14 +0100
[Message part 1 (text/plain, inline)]
Hello,

I made a modification to "rainbow-colorize-hexadecimal-without-sharp" in
rainbow-mode which allows passing a "match" option. I needed this to match
subgroups on complex strings, in my case to highlight the hexadecimal
inside Color::hex("FFF") without colouring the whole expression.

I think it could be useful to more people.

Kind regards,
[Message part 2 (text/html, inline)]
[0001-Add-matching-option-to-rainbow-colorize-hexadecimal-.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 289 days ago.

Previous Next


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