[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lazy-lock vs. jit-lock
From: |
rgb |
Subject: |
Re: lazy-lock vs. jit-lock |
Date: |
29 Dec 2005 07:55:59 -0800 |
User-agent: |
G2/0.2 |
Ian Zimmerman wrote:
> Can anyone comment on the relative advantages of these kinds of
> font-locking? jit-lock seems to be the default in Emacs 21.4, but I
> fount that in some buffers (not necessarily large ones) whole chunks are
> left unfontified. Waiting for them to be "stealthily" fontified also
> doesn't help; only font-lock-fontify-buffer does.
You say waiting doesn't help but I wonder how long you waited.
jit-lock-stealth-time defaults to 16 seconds.
I use these settings on my desktop machine with good results.
(setq jit-lock-chunk-size 10000)
(setq jit-lock-stealth-time 0.5)
(setq jit-lock-stealth-load nil)