GNU bug report logs - #77005
31.0.50; Add note about font-lock-keywords-case-fold-search usage

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Fri, 14 Mar 2025 05:43:02 UTC

Severity: wishlist

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

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: 77005 <at> debbugs.gnu.org
Subject: bug#77005: 31.0.50; Add note about font-lock-keywords-case-fold-search usage
Date: Sat, 15 Mar 2025 10:33:29 +0200
> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> Cc: 77005 <at> debbugs.gnu.org
> Date: Fri, 14 Mar 2025 13:20:06 -0600
> 
> Eli Zaretskii <eliz <at> gnu.org> writes: 
> 
>  How did you see that, and where? 
> 
> Mostly in third-party major-mode. But also in built-in ones, for example css-mode that have
> font-lock-keywords-case-fold-search set to 't. 
> 
> I haven't seen any minor mode that uses this variable. I guess the reason is to avoid conflicts with the major
> mode. 
> 
>  We need to understand the issue better to reply to this question. So please provide more details. 
> 
> My idea is to add a kind of note to font-lock-keywords-case-fold-search documentation in lispref tex file to
> avoid any confusion that this can be used in minor modes. 

I wonder why is this necessary.  Minor modes are not supposed to
affect font-lock in the first place, are they?




This bug report was last modified 67 days ago.

Previous Next


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