[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: |
9 Jan 2004 04:46:28 -0800 |
Hi Stefan,
Thank you so much. You save me so much time and teach me a lot. It is
working as I want.
James
Stefan Monnier <monnier@iro.umontreal.ca> wrote in message
news:<jwvfzeqoyjr.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca>...
> > 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.
>
> The part of the code that says:
>
> (setq font-lock-defaults '(gauss-font-lock-keywords
> t ;; Keywords-only?
> t ;; Fold case?
> nil ;; Syntax-alist
> nil ;; Syntax-begin
> ))
>
> should say
>
> (setq font-lock-defaults '(gauss-font-lock-keywords
> nil ;; Keywords-only?
> t ;; Fold case?
> nil ;; Syntax-alist
> nil ;; Syntax-begin
> ))
>
> so that font-lock uses syntax-tables.
>
>
> Stefan
- Highlight comment in HTML, (continued)
- 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, 2004/01/08
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/08
- Re: Highlight comment in gauss mode,
address@hidden <=
Message not available