From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1297: font-lock-keywords-case-fold-search doc and usage Date: Sun, 2 Nov 2008 20:44:01 -0800 (PST) Message-ID: <200811030444.mA34i1oB000823@mothra.ics.uci.edu> References: <87od0xh600.fsf@cyd.mit.edu> Reply-To: Dan Nicolaescu , 1297@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225687824 15862 80.91.229.12 (3 Nov 2008 04:50:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 04:50:24 +0000 (UTC) Cc: 1297@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 05:51:26 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KwrPS-0005rx-13 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 05:51:26 +0100 Original-Received: from localhost ([127.0.0.1]:59002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwrOL-0005Uu-2a for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Nov 2008 23:50:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwrOG-0005Uf-N7 for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 23:50:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwrOC-0005RI-UB for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 23:50:11 -0500 Original-Received: from [199.232.76.173] (port=59422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwrOC-0005R6-Nk for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 23:50:08 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45508) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KwrOC-0006ap-AV for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 23:50:08 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA34o43k015850; Sun, 2 Nov 2008 20:50:04 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mA34o3rs015806; Sun, 2 Nov 2008 20:50:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 03 Nov 2008 04:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1297 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1297-submit@emacsbugs.donarmstrong.com id=B1297.122568745514479 (code B ref 1297); Mon, 03 Nov 2008 04:50:03 +0000 Original-Received: (at 1297) by emacsbugs.donarmstrong.com; 3 Nov 2008 04:44:15 +0000 Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA34iC8K014473 for <1297@emacsbugs.donarmstrong.com>; Sun, 2 Nov 2008 20:44:13 -0800 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mA34i2xk011669; Sun, 2 Nov 2008 20:44:02 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mA34i1oB000823; Sun, 2 Nov 2008 20:44:01 -0800 (PST) In-Reply-To: <87od0xh600.fsf@cyd.mit.edu> (Chong Yidong's message of "Sun, 02 Nov 2008 21:56:31 -0500") Original-Lines: 32 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mA34i2xk011669 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 02 Nov 2008 23:50:11 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22113 Archived-At: Chong Yidong writes: > > 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. Thanks. > > 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. But that's not quite right, not sure about the standard, but there are lisps that are case insensitive: (DEFUN foo (arg) blah) ought to be fontified the same was as: (defun foo (arg) blah)