* NEWS (fontification): Mention that the new default for

jit-lock-stealth-time is now nil.

* jit-lock.el (jit-lock-stealth-time): Change default to nil.
Preserve 16 as default value for "seconds" when customizing.
This commit is contained in:
David Kastrup 2007-03-04 08:41:08 +00:00
parent 7373bc42b1
commit d0483d25c0
4 changed files with 22 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2007-03-04 David Kastrup <dak@gnu.org>
* NEWS (fontification): Mention that the new default for
jit-lock-stealth-time is now nil.
2007-03-01 Kim F. Storm <storm@cua.dk>
* ORDERS: Reformat text.

View file

@ -1055,10 +1055,16 @@ cperl-mode and make-mode support this.
---
*** The default settings for JIT stealth lock parameters are changed.
The default value for the user option jit-lock-stealth-time is now 16
instead of 3, and the default value of jit-lock-stealth-nice is now
0.5 instead of 0.125. The new defaults should lower the CPU usage
when Emacs is fontifying in the background.
The default value for the user option jit-lock-stealth-time is now nil
instead of 3. This setting of jit-lock-stealth-time disables stealth
fontification: on today's machines, it may be a bug in font lock
patterns if fontification otherwise noticeably degrades interactivity.
If you find movement in infrequently visited buffers sluggish (and the
major mode maintainer has no better idea), customizing
jit-lock-stealth-time to a non-nil value will let Emacs fontify
buffers in the background when it considers the system to be idle.
jit-lock-stealth-nice is now 0.5 instead of 0.125 which is supposed to
cause less load than the old defaults.
---
*** jit-lock can now be delayed with `jit-lock-defer-time'.

View file

@ -1,3 +1,8 @@
2007-03-04 David Kastrup <dak@gnu.org>
* jit-lock.el (jit-lock-stealth-time): Change default to nil.
Preserve 16 as default value for "seconds" when customizing.
2007-03-04 Carsten Dominik <dominik@science.uva.nl>
* textmodes/org.el (org-self-insert-command)

View file

@ -74,14 +74,14 @@ This variable controls both display-time and stealth fontification."
:group 'jit-lock)
(defcustom jit-lock-stealth-time 16
(defcustom jit-lock-stealth-time nil
"*Time in seconds to wait before beginning stealth fontification.
Stealth fontification occurs if there is no input within this time.
If nil, stealth fontification is never performed.
The value of this variable is used when JIT Lock mode is turned on."
:type '(choice (const :tag "never" nil)
(number :tag "seconds"))
(number :tag "seconds" :value 16))
:group 'jit-lock)