[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with font lock
From: |
alin.s |
Subject: |
Re: problem with font lock |
Date: |
Fri, 15 Jan 2010 08:24:02 -0800 (PST) |
begin by understanding which module tries to paint the region you expect.
There are many different : overlays, font-lock based on classes of syntax,
font-lock based on regular expressions, etc.
You must have patience and discover which of these modules paints every
character/word from the buffer where you are interested.
Look into the elisp manual.
When you comment a line you should expect that the author of the minor/major
modes actives defined the fontification using the font lock for the
"comment" syntax class; its color is defined in font-lock-comment-face'. But
it is not sure that the commented line was fontified so.
Jose A. Ortega Ruiz-2 wrote:
>
>
> hi,
>
> i'm experiencing an intermittent problem with font lock that i don't
> know how to debug (this is emacs 23.1.91 packaged for debian). every now
> and then, font lock just stops working in most (but not all) of the
> buffers: the extant colors remain, but new text is not coloured at all
> (e.g., if i comment a line out, the line's text retains its initial
> faces instead of switching to the comment face). as i said, i haven't
> found a way to reproduce this behaviour deterministically, and when it
> starts happening i don't see any error message around. so my question
> is: what would you recommend to look at when i enter this state, so that
> i can submit a useful bug report?
>
> thanks!
> jao
>
>
>
>
>
--
View this message in context:
http://old.nabble.com/problem-with-font-lock-tp27176810p27179603.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.