From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: prevent part of user var highlighted as keyword in new lang mode Date: Tue, 18 Nov 2008 18:37:55 -0800 (PST) Organization: http://groups.google.com Message-ID: <56762f2d-095d-4059-8c6a-d1619fa51d94@s9g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227079512 30269 80.91.229.12 (19 Nov 2008 07:25:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2008 07:25:12 +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 Nov 19 08:26:13 2008 Return-path: Envelope-to: geh-help-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 1L2hS0-0001qI-JD for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Nov 2008 08:26:12 +0100 Original-Received: from localhost ([127.0.0.1]:37853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2hQr-0001ro-SQ for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Nov 2008 02:25:01 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s9g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 13 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1227062275 11371 127.0.0.1 (19 Nov 2008 02:37:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 19 Nov 2008 02:37:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s9g2000prm.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.26.2 (KHTML, like Gecko) Version/3.2 Safari/525.26.12, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164582 comp.emacs:97364 X-Mailman-Approved-At: Wed, 19 Nov 2008 02:24:12 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59919 Archived-At: in writing a new language mode, how do i prevent part of variable that gets highlighted as keyword? e.g. the =E2=80=9Cfor=E2=80=9D in =E2=80=9Cinf= orm=E2=80=9D. i'm using (setq font-lock-defaults '((xlsl-font-lock-keywords) nil nil)) Thanks. Xah =E2=88=91 http://xahlee.org/ =E2=98=84