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


Message #30 received at 77005-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: eg642616 <at> gmail.com, 77005-done <at> debbugs.gnu.org
Subject: Re: bug#77005: 31.0.50;
 Add note about font-lock-keywords-case-fold-search usage
Date: Mon, 17 Mar 2025 14:39:37 +0200
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Sun, 16 Mar 2025 14:24:07 -0700
> Cc: 77005 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> >> Cc: 77005 <at> debbugs.gnu.org
> >> Date: Sat, 15 Mar 2025 12:57:45 -0600
> >>
> >>  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.
> >
> > Stefan, WDYT?
> 
> I'd tend to agree with Eli.

Thanks, closing.




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.