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: Re: Highlight comment in gauss mode Date: 7 Jan 2004 05:33:32 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <65ef16d2.0401070533.2dee844@posting.google.com> References: <65ef16d2.0401060700.3a9f8a6a@posting.google.com> <65ef16d2.0401061620.4d7247db@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 1073484616 13843 80.91.224.253 (7 Jan 2004 14:10:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2004 14:10:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 07 15:10:14 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 1AeENx-0004t8-00 for ; Wed, 07 Jan 2004 15:10:13 +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 1AeEzX-0007IE-6K for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jan 2004 09:49:03 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Original-NNTP-Posting-Host: 150.198.138.127 Original-X-Trace: posting.google.com 1073482412 28002 127.0.0.1 (7 Jan 2004 13:33:32 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 7 Jan 2004 13:33:32 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:119830 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:15773 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15773 Stefan Monnier wrote in message news:... > > Thank you for your response and sorry for unclear information. > > Based on Gauss, the valid comment format is anything between /* and */ > > (same as C) and between @ ... @ when @ ... @ is at the same line. > > But the question remains of whether or not > > @ foo @ foo is not valid Gauss. The valid Gauss comments are /* this kind of comment can be nested */ @ this kind of comment cannot be nested @ For example, the followings are valid gauss comment: Case 1: /* foo1 /* foo2 */ */ Case 2: @ foo2@ Case 3: @ foo3 @ > > is valid Gauss (and whether it is a comment). > > > I just use the gauss mode implemented by Steve Berry. However, this > > mode only supports @ ... @ type comment but not highlight the comment. > > Reading the code, I'd expect it to highlight them, although in `string' > face rather than in `comment' face. Can you precisely (i.e. as if talking > to a complete idiot) describe what you do, what you see, and what you > expected instead ? I just want to see the colors are different in comment areas. For example, {ans1,ans2} = call_foo(arg1,arg2,arg3); @This is foo subroutine@ /* foo is calculating .... .... */ I would like to see highlight in @This is foo subroutine@ /* foo is calculating .... .... */ Thanks. James > > > Stefan