summaryrefslogtreecommitdiff
path: root/lisp/jit-lock.el
Commit message (Collapse)AuthorAgeFilesLines
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* * NEWS (fontification): Mention that the new default forDavid Kastrup2007-03-041-2/+2
| | | | | | | 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.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Paren typo.Stefan Monnier2006-09-261-1/+1
|
* (jit-lock-force-redisplay): Rename from jit-lock-fontify-again.Stefan Monnier2006-09-261-8/+8
| | | | Undo the mistaken change I've just done.
* (jit-lock-fontify-now): Don't fontify the empty text.Stefan Monnier2006-09-261-4/+6
| | | | (jit-lock-fontify-again): Don't refontify text that's not displayed.
* (jit-lock-fontify-again): New function.Kim F. Storm2006-09-141-9/+9
| | | | (jit-lock-fontify-now): Use it instead of lambda form.
* * emacs-lisp/timer.el (timer-set-idle-time, run-with-idle-timer):Chong Yidong2006-08-241-61/+56
| | | | | | | | | | | | 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.
* (jit-lock-fontify-now): Protect the modified status of the right buffer.Stefan Monnier2006-08-171-7/+8
|
* (jit-lock-fontify-now): Preserve the buffer'sStefan Monnier2006-08-031-4/+10
| | | | modification status when forcing the second redisplay.
* (jit-lock-fontify-now): Cause a second redisplay if needed.Stefan Monnier2006-08-011-39/+47
| | | | | | (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.
* (jit-lock-function): Check for the actual defer-timer rather than justStefan Monnier2006-03-201-2/+2
| | | | | 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.
* * font-lock.el (font-lock-lines-before): Delete variable, subsumed byStefan Monnier2006-03-151-1/+1
| | | | | | | | 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-core.el: New function/variableAlan Mackenzie2006-03-141-30/+38
| | | | | | | | | | | | 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.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (jit-lock-chunk-size): Doc fix.Eli Zaretskii2005-12-301-1/+3
|
* * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock soDan Nicolaescu2005-10-311-1/+0
| | | | | | | | | | | | | | 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-function, jit-lock-stealth-fontify)Richard M. Stallman2005-10-291-30/+32
| | | | | (jit-lock-deferred-fontify, jit-lock-context-fontify) (jit-lock-after-change): Test memory-full.
* (jit-lock-fontify-now): Be careful not to skip multilineStefan Monnier2005-10-251-1/+6
| | | | regions when moving the jit-lock-context-unfontify-pos boundary.
* (jit-lock-fontify-now): Fix copy/paste mess up in last change.Stefan Monnier2005-10-171-3/+0
|
* (jit-lock-fontify-now): Move jit-lock-context-unfontify-pos.Stefan Monnier2005-10-171-1/+16
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (jit-lock-function, jit-lock-after-change): Do nothing if memory is full.Richard M. Stallman2005-05-291-2/+2
|
* Specify missing group (and type, if simple) in defcustom.Juanma Barranquero2005-05-191-2/+3
|
* (jit-lock-stealth-time): Change default value to 16.Eli Zaretskii2005-04-231-2/+2
| | | | (jit-lock-stealth-nice): Change default value to 0.5.
* (jit-lock-stealth-fontify): When calling sit-for,Richard M. Stallman2005-03-061-2/+9
| | | | make sure the current buffer is the expected one.
* * jit-lock.el (jit-lock): Remove links to removed Support ModesJuri Linkov2004-03-251-1/+0
| | | | Info node.
* (jit-lock-context-time, jit-lock-context-timer): New var.Stefan Monnier2004-01-301-26/+49
| | | | | | | | | (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-stealth-fontify): Allow quit.Stefan Monnier2004-01-301-15/+20
| | | | | (jit-lock-fontify-now): Handle the `quit' case. (jit-lock-contextually): Rename from jit-lock-defer-contextually.
* (jit-lock): Move group declaration from font-lock.el.Stefan Monnier2004-01-261-25/+31
| | | | | (jit-lock-context-unfontify-pos): Rename from jit-lock-first-unfontify-pos. (jit-lock-defer-buffers): Rename from jit-lock-buffers.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-13/+13
|
* (jit-lock-fontify-now): Don't widen.Stefan Monnier2002-10-011-38/+36
| | | | Let the jit-lock-functions do it if they want to.
* Modify a commented-out non-nil value of jit-lock-defer-time, toEli Zaretskii2001-11-251-1/+1
| | | | make it consistent with the lazy-lock-defer-time's default value.
* (jit-lock-defer-time): New var.Stefan Monnier2001-11-211-26/+105
| | | | | | | | | | (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.
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-2/+2
|
* (jit-lock-after-change): Check the font-lock-multilineStefan Monnier2001-05-171-8/+7
| | | | | text-property after moving to the beginning of line and regardless of the value of font-lock-multiline.
* (jit-lock-fontify-now): Don't bindGerd Moellmann2001-01-191-2/+9
| | | | font-lock-beginning-of-syntax-function to nil.
* Update copyright.Gerd Moellmann2001-01-191-2/+1
|
* (jit-lock-after-change): If font-lock-multilineGerd Moellmann2001-01-191-1/+2
| | | | is nil, don't check the `font-lock-multiline' text property.
* (jit-lock-stealth-time): Doc fix.Gerd Moellmann2000-10-171-1/+1
|
* (jit-lock-after-change): If we're in text thatGerd Moellmann2000-10-161-0/+8
| | | | | matches a multi-line font-lock pattern, make sure the whole text will be redisplayed.
* (jit-lock-fontify-buffer): Remove.Stefan Monnier2000-10-151-1/+0
|
* Don't require font-lock any more.Stefan Monnier2000-10-081-64/+27
| | | | | | | | | | | | | | | (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.
* (jit-lock-mode): Use jit-lock-defer-contextuallyStefan Monnier2000-10-051-7/+11
| | | | | | consistently with its docstring. Set jit-lock-first-unfontify-pos in an idempotent way. (jit-lock-register): Autoload and add arg CONTEXTUAL.
* (jit-lock-register, jit-lock-unregister): Docstring fix.Stefan Monnier2000-10-051-3/+4
|
* (jit-lock-register, jit-lock-unregister): New functions.Stefan Monnier2000-10-051-0/+14
|
* (with-buffer-unmodified): Use unwind-protect.Stefan Monnier2000-10-051-38/+36
| | | | | | | | | | (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.
* (jit-lock-after-change): Don't assume point is at START.Stefan Monnier2000-06-201-14/+16
|