From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evans Winner Newsgroups: gmane.emacs.help Subject: Re: Differing string delimiters for font-lock Date: Thu, 14 Feb 2013 16:46:01 -0800 (PST) Message-ID: References: <841d23f7-40d8-4996-896d-d78684fd3f90@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1360896542 14402 80.91.229.3 (15 Feb 2013 02:49:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2013 02:49:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 03:49:24 2013 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 1U6BMY-0006Bg-T5 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 03:49:23 +0100 Original-Received: from localhost ([::1]:50192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6BMF-0001pb-7x for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Feb 2013 21:49:03 -0500 X-Received: by 10.224.175.65 with SMTP id w1mr1733770qaz.7.1360889161868; Thu, 14 Feb 2013 16:46:01 -0800 (PST) X-Received: by 10.49.12.238 with SMTP id b14mr29528qec.18.1360889161582; Thu, 14 Feb 2013 16:46:01 -0800 (PST) Original-Path: usenet.stanford.edu!news.glorb.com!t2no765931qal.0!news-out.google.com!k2ni33058qap.0!nntp.google.com!t1no773929qaz.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <841d23f7-40d8-4996-896d-d78684fd3f90@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.100.117.254; posting-account=bcBAIgoAAAAAFeCKpDE6Xjp7O4fReY4X Original-NNTP-Posting-Host: 65.100.117.254 User-Agent: G2/1.0 Injection-Date: Fri, 15 Feb 2013 00:46:01 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:196817 X-Mailman-Approved-At: Thu, 14 Feb 2013 21:48:55 -0500 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:89104 Archived-At: I think I've answered my question -- at least it appears to work. I've sto= pped using define-generic-mode. Anyway, what I was looking for is: (font-lock-add-keywords nil '(("=93[^=94]*=94" 0 font-lock-string-face)))