Eli Zaretskii writes: >> From: Elijah Gabe Pérez >> Cc: 77005@debbugs.gnu.org >> Date: Fri, 14 Mar 2025 13:20:06 -0600 >> >> Eli Zaretskii 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? Right, they should not, however for case-insensitive fontification this can lead to newcomer users that wants to define a minor mode /(such as for highlight something)/ use this variable. Otherwise this bug could already be closed.