| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Undo the mistaken change I've just done.
|
|
|
|
| |
(jit-lock-fontify-again): Don't refontify text that's not displayed.
|
|
|
|
| |
(jit-lock-fontify-now): Use it instead of lambda form.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Accept internal time format for SECS arg.
(timer-relative-time): Doc fix.
* jit-lock.el: "Stealth fontification by requeuing timers" patch,
adapted from Martin Rudalics.
(jit-lock-stealth-repeat-timer, jit-lock-stealth-buffers): New vars.
(jit-lock-mode): Create jit-lock-stealth-repeat-timer.
(jit-lock-stealth-fontify): Reschedule as a idle timer instead of
using sit-for.
|
| |
|
|
|
|
| |
modification status when forcing the second redisplay.
|
|
|
|
|
|
| |
(jit-lock-start, jit-lock-end): New dynamic scoped vars.
(jit-lock-after-change-extend-region-functions): New hook.
(jit-lock-after-change): Use it instead of hard-coding font-lock code.
|
|
|
|
|
| |
defer-time, in case defer-time has been changed but the timer isn't running yet.
(jit-lock-deferred-fontify): Correspondingly let-bind defer-timer.
|
|
|
|
|
|
|
|
| |
the new extend-region feature.
(font-lock-after-change-function): Update correspondingly.
* jit-lock.el (jit-lock-after-change): Update correspondingly.
* progmodes/grep.el (font-lock-lines-before): Don't disable.
* modes.texi (Region to Fontify): Remove font-lock-lines-before.
|
|
|
|
|
|
|
|
|
|
|
|
| |
font-lock-extend-region\(-function\)?.
* font-lock.el (font-lock-after-change-function): Call
font-lock-extend-region. Obey font-lock-lines-before.
(font-lock-default-fontify-region): Remove reference to
font-lock-lines-before.
* jit-lock.el (jit-lock-after-change): Call
font-lock-extend-region. Obey font-lock-lines-before.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that global-font-lock-mode can be enabled by default.
* font-lock.el (font-lock-keywords, font-lock-mode-internal)
(font-lock-add-keywords, font-lock-remove-keywords)
(font-lock-fontify-buffer): Remove autoload cookies.
* jit-lock.el (jit-lock-register): Likewise.
* emacs-lisp/syntax.el (syntax-ppss): Likewise.
* puresize.h (BASE_PURESIZE): Increment to 1170000.
|
|
|
|
|
| |
(jit-lock-deferred-fontify, jit-lock-context-fontify)
(jit-lock-after-change): Test memory-full.
|
|
|
|
| |
regions when moving the jit-lock-context-unfontify-pos boundary.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(jit-lock-stealth-nice): Change default value to 0.5.
|
|
|
|
| |
make sure the current buffer is the expected one.
|
|
|
|
| |
Info node.
|
|
|
|
|
|
|
|
|
| |
(with-buffer-unmodified, with-buffer-prepared-for-jit-lock):
Add edebug info.
(jit-lock-mode): Setup/cancel the new timer.
(jit-lock-context-fontify): New fun. Extracted from
context fontification code of jit-lock-stealth-fontify.
(jit-lock-stealth-fontify): Don't do context fontification any more.
|
|
|
|
|
| |
(jit-lock-fontify-now): Handle the `quit' case.
(jit-lock-contextually): Rename from jit-lock-defer-contextually.
|
|
|
|
|
| |
(jit-lock-context-unfontify-pos): Rename from jit-lock-first-unfontify-pos.
(jit-lock-defer-buffers): Rename from jit-lock-buffers.
|
| |
|
| |
|
|
|
|
| |
Let the jit-lock-functions do it if they want to.
|
|
|
|
| |
make it consistent with the lazy-lock-defer-time's default value.
|
|
|
|
|
|
|
|
|
|
| |
(jit-lock-defer-timer, jit-lock-buffers): New vars.
(jit-lock-mode): Initialize them. Cancel the timers more carefully.
(jit-lock-function): Defer fontification if requested.
(jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
(jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
text property.
(jit-lock-deferred-fontify): New fun.
|
| |
|
|
|
|
|
| |
text-property after moving to the beginning of line and regardless
of the value of font-lock-multiline.
|
|
|
|
| |
font-lock-beginning-of-syntax-function to nil.
|
| |
|
|
|
|
| |
is nil, don't check the `font-lock-multiline' text property.
|
| |
|
|
|
|
|
| |
matches a multi-line font-lock pattern, make sure the whole text
will be redisplayed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(jit-lock-functions): Make buffer-local.
(jit-lock-saved-fontify-buffer-function): Remove.
(jit-lock-mode): Remove autoload cookie.
Remove font-lock specific code.
(jit-lock-unregister): Don't bother handling complex hooks any more.
(jit-lock-refontify): New function.
(jit-lock-fontify-buffer): Use it.
(jit-lock-function-1): Replaced by jit-lock-fontify-now.
(jit-lock-fontify-now): Renamed from jit-lock-function-1.
Add optional args START and END.
Never call font-lock-fontify-region directly.
(jit-lock-function, jit-lock-stealth-fontify): Use it.
|
|
|
|
|
|
| |
consistently with its docstring.
Set jit-lock-first-unfontify-pos in an idempotent way.
(jit-lock-register): Autoload and add arg CONTEXTUAL.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
(jit-lock-functions): New var.
(jit-lock-function-1): Use it if non-nil.
Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
Set the `fontified' property before doing the fontification to avoid
repeatedly going through the same error.
Don't turn errors into messages.
|
| |
|