From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jacob Gerlach Newsgroups: gmane.emacs.help Subject: Re: Selective Font Lock Case Sensitivity Date: Tue, 15 Apr 2014 19:08:32 -0700 (PDT) Message-ID: <34c78649-842c-4ddc-ada5-8ffafe5c296d@googlegroups.com> References: <784cf2dd-38c6-4505-841c-a88e112f4759@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1397614228 14158 80.91.229.3 (16 Apr 2014 02:10:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2014 02:10:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 04:10:21 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 1WaFIq-0007xt-L1 for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Apr 2014 04:10:20 +0200 Original-Received: from localhost ([::1]:52460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaFIq-00025l-5G for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Apr 2014 22:10:20 -0400 X-Received: by 10.182.230.132 with SMTP id sy4mr2577854obc.48.1397614112580; Tue, 15 Apr 2014 19:08:32 -0700 (PDT) X-Received: by 10.140.95.178 with SMTP id i47mr113471qge.10.1397614112504; Tue, 15 Apr 2014 19:08:32 -0700 (PDT) Original-Path: usenet.stanford.edu!news.glorb.com!l13no7413865iga.0!news-out.google.com!du2ni10245qab.0!nntp.google.com!m5no2343976qaj.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=98.217.114.175; posting-account=Hx-_8AoAAACyMXgs4MCS3wNERNLct_lk Original-NNTP-Posting-Host: 98.217.114.175 User-Agent: G2/1.0 Injection-Date: Wed, 16 Apr 2014 02:08:32 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204879 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:97144 Archived-At: > You can use > > > > (lambda (limit) > > (let ((case-fold-search t)) > > (re-search-forward RE limit t))) I'm trying to do this in font lock. Are you saying I could do something like: ((lambda...) . font-lock-keyword-face) instead of the usual ("RE" . font-lock-keyword-face)