unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39578: 27.0.50; [rainbow-mode] #define is colored in c++-mode
@ 2020-02-12 15:06 tastytea
  2020-10-27 18:35 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: tastytea @ 2020-02-12 15:06 UTC (permalink / raw)
  To: 39578


[-- Attachment #1.1: Type: text/plain, Size: 298 bytes --]

Hi,
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() {}

Kind regards, tastytea

[-- Attachment #1.2: screenshot_rainbow_define.png --]
[-- Type: image/png, Size: 3094 bytes --]

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-01  9:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-12 15:06 bug#39578: 27.0.50; [rainbow-mode] #define is colored in c++-mode tastytea
2020-10-27 18:35 ` Lars Ingebrigtsen
2020-10-29 11:45   ` Julien Danjou
2020-10-30 12:00     ` Lars Ingebrigtsen
2020-10-30 15:53       ` Julien Danjou
2020-11-01 12:22         ` Lars Ingebrigtsen
2022-05-01  9:24       ` Lars Ingebrigtsen

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).