[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Highlight comment in gauss mode
From: |
address@hidden |
Subject: |
Re: Highlight comment in gauss mode |
Date: |
8 Jan 2004 13:30:59 -0800 |
Thank you very much. The format is correct now but the comment areas
do not change the color though font-lock-mode is on. Could you kindly
tell me what lisp algorithm I should add to change the comment color.
Any help is highly appreciated.
James
Stefan Monnier <monnier@iro.umontreal.ca> wrote in message
news:<jwv1xqb3hjl.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca>...
> > @ foo
> > is not valid Gauss. The valid Gauss comments are
>
> > /* this kind of comment can be nested */
>
> > @ this kind of comment cannot be nested @
>
> Oh, so it's not a question of whether the closing @ is on the same line but
> of nesting. Good.
>
> Then you want to add "n" to the syntax of "*" (to cause /* */ to be
> nestable) and you want to use "!" (instead of "\"") for for syntax of @.
>
> > For example, the followings are valid gauss comment:
>
> > Case 1:
> > /* foo1
> > /* foo2 */
> > */
>
> > Case 2:
> > @ foo2@
>
> > Case 3:
>
> > @ foo3
> > @
>
> With my suggestions above, all three should work just fine in Emacs-21.
>
> > I just want to see the colors are different in comment areas.
>
> What have you tried to do to make it happen ?
> Have you turned on font-lock-mode ?
>
>
> Stefan
- Highlight comment in gauss mode, address@hidden, 2004/01/06
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/06
- Re: Highlight comment in gauss mode, address@hidden, 2004/01/06
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/06
- Re: Highlight comment in gauss mode, address@hidden, 2004/01/07
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/07
- Re: Highlight comment in gauss mode,
address@hidden <=
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/08
- Re: Highlight comment in gauss mode, address@hidden, 2004/01/09
Message not available