Subject: bug#1297 closed by Chong Yidong <[email-masked]> (Re: font-lock-keywords-case-fold-search doc and usage)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1297: font-lock-keywords-case-fold-search doc and usage

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
1297: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1297
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Sun Nov  2 18:56:30 2008
From: Chong Yidong <[email-masked]>
To: Dan Nicolaescu <[email-masked]>
Cc: [email-masked]
Subject: Re: font-lock-keywords-case-fold-search doc and usage
Date: Sun, 02 Nov 2008 21:56:31 -0500

> font-lock-keywords-case-fold-search docstring should make it more clear
> that font-lock-defaults erases it.

Okay, I changed it to make it hopefully clearer.

> There is one victim in the tree.  `lisp-mode' does:
>
>   (make-local-variable 'font-lock-keywords-case-fold-search)
>   (setq font-lock-keywords-case-fold-search t)
>
> but the value of font-lock-keywords-case-fold-search in a lisp-mode
> buffer is nil, that's because font-lock-defaults does a
> kill-local-variable on it...

Great catch.  No one has complained about this, so clearly it's OK for
font-lock-keywords-case-fold-search to be nil.  I removed the bogus
8-year-old setting of font-lock-keywords-case-fold-search.

>From [email-masked] Sun Nov  2 07:57:02 2008
Date: Sun, 2 Nov 2008 07:56:33 -0800 (PST)
From: Dan Nicolaescu <[email-masked]>
To: bug-gnu-emacs <[email-masked]>
Subject: font-lock-keywords-case-fold-search doc and usage
Lines: 13

font-lock-keywords-case-fold-search docstring should make it more clear
that font-lock-defaults erases it.

There is one victim in the tree.  `lisp-mode' does:

  (make-local-variable 'font-lock-keywords-case-fold-search)
  (setq font-lock-keywords-case-fold-search t)

but the value of font-lock-keywords-case-fold-search in a lisp-mode
buffer is nil, that's because font-lock-defaults does a
kill-local-variable on it...