From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jyangstat@yahoo.com (jyangstat@yahoo.com) Newsgroups: gmane.emacs.help Subject: Highlight comment in gauss mode Date: 6 Jan 2004 07:00:54 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <65ef16d2.0401060700.3a9f8a6a@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1073402159 25171 80.91.224.253 (6 Jan 2004 15:15:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 15:15:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 06 16:15:49 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Adsvt-000133-00 for ; Tue, 06 Jan 2004 16:15:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdttA-0005Ko-Qo for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2004 11:17:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 150.198.138.127 Original-X-Trace: posting.google.com 1073401254 1821 127.0.0.1 (6 Jan 2004 15:00:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Jan 2004 15:00:54 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:119777 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15720 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15720 Hi, I would like to ask if anyone can help me setup highlight gauss mode comment such as the two different types: @ This is one line comment @ /* This is multiple-lines comments */ My current syntax table is as the follows but it did not work. (modify-syntax-entry ?@ "\"" gauss-mode-syntax-table) (modify-syntax-entry ?/ ". 14b" gauss-mode-syntax-table) (modify-syntax-entry ?* ". 23b" gauss-mode-syntax-table) Please help me correct my error. Any help is appreciated. James