help-gnu-emacs
[Top][All Lists]
Advanced

[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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]