From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: frodetj@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Syntax highlighting keywords starting with # Date: 3 Nov 2005 11:55:12 -0800 Organization: http://groups.google.com Message-ID: <1131047712.437935.238430@g47g2000cwa.googlegroups.com> References: <1131019860.252451.281450@g44g2000cwa.googlegroups.com> <87hdatyale.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1131048335 8688 80.91.229.2 (3 Nov 2005 20:05:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2005 20:05:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 03 21:05:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXlHS-0005WB-N2 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Nov 2005 21:01:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXlHQ-0001Ql-Vl for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Nov 2005 15:01:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 194.19.8.2 Original-X-Trace: posting.google.com 1131047717 6962 127.0.0.1 (3 Nov 2005 19:55:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 3 Nov 2005 19:55:17 +0000 (UTC) In-Reply-To: <87hdatyale.fsf-monnier+gnu.emacs.help@gnu.org> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=194.19.8.2; posting-account=pkNzFg0AAAD9SK_ruFRL4uAApu4oDiZp Original-Xref: shelby.stanford.edu gnu.emacs.help:135207 Original-To: help-gnu-emacs@gnu.org 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:30798 Archived-At: I believe the following code does the trick? (defun psc-mode () (set (make-local-variable 'font-lock-defaults) '(psc-font-lock-keywords))) It was actually working to remove the \\<. But it would be rather neat have it, so that #PROCESS is highlighted, and CRAP#PROCESS is not. I'm not able to make this work for the #, but for other characters it's working fine. Any advice?