GNU bug report logs - #39578
27.0.50; [rainbow-mode] #define is colored in c++-mode

Previous Next

Package: emacs;

Reported by: tastytea <tastytea <at> tastytea.de>

Date: Wed, 12 Feb 2020 15:33:02 UTC

Severity: minor

Tags: confirmed

Merged with 37681

Found in version 27.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: tastytea <tastytea <at> tastytea.de>
Cc: Julien Danjou <julien <at> danjou.info>, 39578 <at> debbugs.gnu.org
Subject: Re: bug#39578: 27.0.50; [rainbow-mode] #define is colored in c++-mode
Date: Tue, 27 Oct 2020 19:35:35 +0100
tastytea <tastytea <at> tastytea.de> writes:

> I found a little bug in rainbow-mode 1.0.3. In c-mode and c++-mode it
> colors the “#def” in #define.
>
> Minimal init.el (assuming that rainbow-mode is installed):
> (package-initialize)
> (require 'rainbow-mode)
>
> Minimal C++ example:
> #define XYZ
> int main() {}

I can confirm that the bug is still present in the current ELPA
package.  Perhaps Julien has some insight here?  (Cc'd.)

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




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

Previous Next


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