emacs-devel
[Top][All Lists]
Advanced

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

Re: JIT stealth font-lock tuning parameters


From: Stefan Monnier
Subject: Re: JIT stealth font-lock tuning parameters
Date: Mon, 12 Nov 2001 11:06:34 -0500

> > > The logic behind that is that, as long as you type, the syntax of the
> > > modified text can not be trusted.  If you don't consider short breaks as
> > > ``real'' idleness, the effect on jit-lock-defer-contextually should not
> > > annoy, I think.
> > When I change the syntax in a buffer, I occasionally wait for those
> > 3 seconds to see the result after refontification.
> Why wait at all? doesn't "M-g M-g" refontify in no time?

It might, but I find that I never use it.

> Anyway, I tried to reproduce the situation you describe, and I seem to be 
> unable to do that: modified C source seems to be refontified 
> immediately.  Could you give a recipe?

Write code like

        /* bla
           blabla
           blablabla
           blablablabla */

Then remove the "/*".  At first, only the first line will be refontified
and the rest will stay as "comment" but after about 3 seconds, the
rest gets refontified properly.


        Stefan




reply via email to

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