From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Frode" Newsgroups: gmane.emacs.help Subject: Re: Syntax highlighting keywords starting with # Date: 4 Nov 2005 03:27:55 -0800 Organization: http://groups.google.com Message-ID: <1131103675.851947.176620@z14g2000cwz.googlegroups.com> References: <1131019860.252451.281450@g44g2000cwa.googlegroups.com> <87hdatyale.fsf-monnier+gnu.emacs.help@gnu.org> <1131047712.437935.238430@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1131106119 4152 80.91.229.2 (4 Nov 2005 12:08:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2005 12:08:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 04 13:08:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EY0Lv-0008Ln-4T for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Nov 2005 13:07:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EY0Lu-0007rA-HI for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Nov 2005 07:07:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 8 Original-NNTP-Posting-Host: 194.19.8.2 Original-X-Trace: posting.google.com 1131103680 11985 127.0.0.1 (4 Nov 2005 11:28:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 4 Nov 2005 11:28:00 +0000 (UTC) In-Reply-To: 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: z14g2000cwz.googlegroups.com; posting-host=194.19.8.2; posting-account=pkNzFg0AAAD9SK_ruFRL4uAApu4oDiZp Original-Xref: shelby.stanford.edu gnu.emacs.help:135225 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:30818 Archived-At: Thanks a lot, Ian. The following code saved my day: (defvar psc-mode-syntax-table (let ((psc-mode-syntax-table (make-syntax-table))) (modify-syntax-entry ?# "w" psc-mode-syntax-table) psc-mode-syntax-table) "Syntax table for PSC mode")