From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Selective Font Lock Case Sensitivity Date: Wed, 16 Apr 2014 23:51:38 -0400 Organization: A noiseless patient Spider Message-ID: References: <784cf2dd-38c6-4505-841c-a88e112f4759@googlegroups.com> <34c78649-842c-4ddc-ada5-8ffafe5c296d@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397706926 23457 80.91.229.3 (17 Apr 2014 03:55:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2014 03:55:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 17 05:55:18 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WadPx-0007Ov-Jy for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Apr 2014 05:55:17 +0200 Original-Received: from localhost ([::1]:57679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WadPx-00044D-3D for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Apr 2014 23:55:17 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Injection-Info: mx05.eternal-september.org; posting-host="f64f2e9780aa32c10b3bacc7f850545b"; logging-data="7670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Dlrnfa47HrKwGOOnpuXRL" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Zm+qSguR3o+qD9M2TQbAMDp3ako= sha1:jcPAaqsP0PG9O+EbVKB3ioQIW5Y= Original-Xref: usenet.stanford.edu gnu.emacs.help:204899 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97164 Archived-At: > What I think I understand from the documentation is that I should end up with something like: > ("anchor" > (lambda (limit) > (let ((case-fold-search t)) > (re-search-forward "keywords-re") limit t)) > (pre-form) > nil > (0 font-lock-keyword-face)) IIRC you need ("anchor" ((lambda (limit) (let ((case-fold-search t)) (re-search-forward "keywords-re") limit t)) (pre-form) nil (0 font-lock-keyword-face))) -- Stefan