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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 77291 <at> debbugs.gnu.org, krisbalintona <at> gmail.com
Subject: bug#77291: 31.0.50; Rainbow-mode conflicts with fontification of function arguments in help-mode buffers
Date: Thu, 27 Mar 2025 21:34:10 +0200
> Cc: 77291 <at> debbugs.gnu.org
> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> Date: Thu, 27 Mar 2025 13:04:15 -0600
> 
> 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.

Not all of them: it leaves some untouched.  See the description of
font-lock-extra-managed-props in the ELisp manual.




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.