GNU bug report logs - #77291
31.0.50; Rainbow-mode conflicts with fontification of function arguments in help-mode buffers

Previous Next

Package: emacs;

Reported by: Kristoffer Balintona <krisbalintona <at> gmail.com>

Date: Wed, 26 Mar 2025 17:45:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Kristoffer Balintona <krisbalintona <at> gmail.com>
Cc: 77291 <at> debbugs.gnu.org
Subject: Re: bug#77291: 31.0.50; Rainbow-mode conflicts with fontification
 of function arguments in help-mode buffers
Date: Thu, 27 Mar 2025 13:04:15 -0600
[Message part 1 (text/plain, inline)]
Kristoffer Balintona <krisbalintona <at> gmail.com> writes:

> Hello,

> I am writing to report a bug in rainbow-mode. The bug is simple: when
> enabling rainbow-mode in help-mode buffers, function argument names are
> not fontified as they should be.

> Expected behavior:
> Function arguments in help-mode buffers should have the
> help-argument-name face applied to them (when help-display-function-type
> is non-nil, I think).

> Actual behavior:
> With rainbow-mode enabled, this is not the case. Instead, argument names
> have no face. Disabling rainbow-mode and reverting the buffer
> (revert-buffer) returns the expected fontification.

I'm not rainbow-mode author or maintainer, but this is a font-lock
downside (which rainbow-mode uses), font-lock overrides any
text-property (faces) made in the buffer.

Also this is the same problem with all minor modes that uses font-lock.

[Message part 2 (text/html, inline)]
[Message part 3 (text/plain, inline)]

-- 
                                          - E.G via GNU Emacs and Org.

This bug report was last modified 82 days ago.

Previous Next


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