comparison etc/NEWS @ 76291:7d2b5814cd4e

* 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.
author David Kastrup <dak@gnu.org>
date Sun, 04 Mar 2007 08:41:08 +0000
parents 045ca13893f7
children 68ddc580d34e 91bf6e05918b
comparison
equal deleted inserted replaced
76290:d5094572b487 76291:7d2b5814cd4e
1053 the same name to customize this. Currently the cc-modes, sh-script-mode, 1053 the same name to customize this. Currently the cc-modes, sh-script-mode,
1054 cperl-mode and make-mode support this. 1054 cperl-mode and make-mode support this.
1055 1055
1056 --- 1056 ---
1057 *** The default settings for JIT stealth lock parameters are changed. 1057 *** The default settings for JIT stealth lock parameters are changed.
1058 The default value for the user option jit-lock-stealth-time is now 16 1058 The default value for the user option jit-lock-stealth-time is now nil
1059 instead of 3, and the default value of jit-lock-stealth-nice is now 1059 instead of 3. This setting of jit-lock-stealth-time disables stealth
1060 0.5 instead of 0.125. The new defaults should lower the CPU usage 1060 fontification: on today's machines, it may be a bug in font lock
1061 when Emacs is fontifying in the background. 1061 patterns if fontification otherwise noticeably degrades interactivity.
1062 If you find movement in infrequently visited buffers sluggish (and the
1063 major mode maintainer has no better idea), customizing
1064 jit-lock-stealth-time to a non-nil value will let Emacs fontify
1065 buffers in the background when it considers the system to be idle.
1066 jit-lock-stealth-nice is now 0.5 instead of 0.125 which is supposed to
1067 cause less load than the old defaults.
1062 1068
1063 --- 1069 ---
1064 *** jit-lock can now be delayed with `jit-lock-defer-time'. 1070 *** jit-lock can now be delayed with `jit-lock-defer-time'.
1065 1071
1066 If this variable is non-nil, its value should be the amount of Emacs 1072 If this variable is non-nil, its value should be the amount of Emacs