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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with font-lock in C-mode with keywords inside "//" comments


From: Matt Kowitt
Subject: Re: problem with font-lock in C-mode with keywords inside "//" comments
Date: 12 Nov 2001 09:14:43 -0800

Stefan,

Thank you for giving me your command-line example; by repeating your steps,
I too was able to make the problem go away.  Then, I was able to track down
the cause back to my .emacs file, where I still had:
   (cond (window-system
           (setq hilit-mode-enable-list  '(not text-mode)
                 hilit-background-mode   'light
                 hilit-inhibit-hooks     nil
                 hilit-inhibit-rebinding nil)
 
           (require 'hilit19)
           ))
When I got rid of this, everything got better.

Sorry for taking up the bandwidth -- this problem can be closed out.
--Matt

"Stefan Monnier" <monnier+gnu.emacs.bug/news/@RUM.cs.yale.edu> wrote in message 
news:<5lu1w3bm32.fsf@rum.cs.yale.edu>...
> >>>>> "Matt" == Matt Kowitt <mkowitt@thinksrs.com> writes:
> > void main(void) {
> >   // keywords appearing within "//" style comments, 
> >   // like: for do, appear (erroneously) highlighted.
>  
> >   /* keywords appearing within "/*" style comments,
> >    * like:  while if, are not highlighted.
> >    */
> > }
> 
> Works fine here when I try the above file with
> 
>       emacs -q --no-site-file ~/tmp/foo.c
>         M-x global-font-lock-mode RET
> 
> can you try to refine your recipe so we can reproduce it ?
> 
> 
>       Stefan



reply via email to

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