diff options
| author | Glenn Morris | 2014-02-13 00:26:01 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-13 00:26:01 -0800 |
| commit | 47a73eb0718124dd26dfb656d3971080eaea0aa5 (patch) | |
| tree | b3b7146d81f8abf983f5d40e78e20ee61e89c807 | |
| parent | c9b6b2624b64d119d2d6a1084c478413353a0721 (diff) | |
| download | emacs-47a73eb0718124dd26dfb656d3971080eaea0aa5.tar.gz emacs-47a73eb0718124dd26dfb656d3971080eaea0aa5.zip | |
Small doc updates for debugging
* doc/lispref/debugging.texi (Debugger Commands): Tiny edits.
* lisp/jit-lock.el (jit-lock-mode): Doc fix.
* etc/NEWS: Related edits.
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/debugging.texi | 6 | ||||
| -rw-r--r-- | etc/NEWS | 15 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/jit-lock.el | 4 |
5 files changed, 22 insertions, 11 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index c304cac04ba..f10577faf77 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-13 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * debugging.texi (Debugger Commands): Tiny edits. | ||
| 4 | |||
| 1 | 2014-02-12 Glenn Morris <rgm@gnu.org> | 5 | 2014-02-12 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * package.texi (Simple Packages): Describe URL and Keywords headers. | 7 | * package.texi (Simple Packages): Describe URL and Keywords headers. |
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 774ac594e0d..a9d0c1c4ed0 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -425,7 +425,8 @@ Flag the current frame like @kbd{b}. Then continue execution like | |||
| 425 | are set up to do so by @code{debug-on-entry}. | 425 | are set up to do so by @code{debug-on-entry}. |
| 426 | 426 | ||
| 427 | @item e | 427 | @item e |
| 428 | Read a Lisp expression in the minibuffer, evaluate it, and print the | 428 | Read a Lisp expression in the minibuffer, evaluate it (with the |
| 429 | relevant lexical environment, if applicable), and print the | ||
| 429 | value in the echo area. The debugger alters certain important | 430 | value in the echo area. The debugger alters certain important |
| 430 | variables, and the current buffer, as part of its operation; @kbd{e} | 431 | variables, and the current buffer, as part of its operation; @kbd{e} |
| 431 | temporarily restores their values from outside the debugger, so you can | 432 | temporarily restores their values from outside the debugger, so you can |
| @@ -465,8 +466,7 @@ function and thus cancel the effect of @code{debug-on-entry}, it may | |||
| 465 | erroneously show up in this list. | 466 | erroneously show up in this list. |
| 466 | 467 | ||
| 467 | @item v | 468 | @item v |
| 468 | Display local variables (@pxref{Local Variables}) of the current stack | 469 | Toggle the display of local variables of the current stack frame. |
| 469 | frame. Press @kbd{e} again to hide them. | ||
| 470 | @end table | 470 | @end table |
| 471 | 471 | ||
| 472 | @node Invoking the Debugger | 472 | @node Invoking the Debugger |
| @@ -357,15 +357,16 @@ Also the following files used by the now obsolete otodo-mode.el: | |||
| 357 | 357 | ||
| 358 | ** Backtrace and debugger | 358 | ** Backtrace and debugger |
| 359 | 359 | ||
| 360 | *** The Lisp debugger's `e' command now includes the lexical environment | ||
| 361 | when evaluating the code in the context at point. Hence, it now lets | ||
| 362 | you access lexical variables. | ||
| 363 | |||
| 364 | +++ | 360 | +++ |
| 365 | *** New command `v' (`debugger-toggle-locals') displays local vars. | 361 | *** New Lisp debugger command `v' (`debugger-toggle-locals') toggles the |
| 362 | displays of local variables. | ||
| 363 | |||
| 364 | *** The Lisp debugger's `e' command (`debugger-eval-expression') now includes | ||
| 365 | the lexical environment when evaluating the code in the context at point | ||
| 366 | (and so allows you to access lexical variables). | ||
| 366 | 367 | ||
| 367 | *** New minor mode `jit-lock-debug-mode' lets you use the debuggers on | 368 | --- |
| 368 | code run via JIT Lock. | 369 | *** New minor mode `jit-lock-debug-mode' helps you debug code run via JIT Lock. |
| 369 | 370 | ||
| 370 | --- | 371 | --- |
| 371 | ** Battery information can now be retrieved from BSD's `apm' utility. | 372 | ** Battery information can now be retrieved from BSD's `apm' utility. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d5c0f6aa552..afbaec909c6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-13 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * jit-lock.el (jit-lock-mode): Doc fix. | ||
| 4 | |||
| 1 | 2014-02-13 Juanma Barranquero <lekktu@gmail.com> | 5 | 2014-02-13 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * apropos.el (apropos-read-pattern): When the user passes an empty | 7 | * apropos.el (apropos-read-pattern): When the user passes an empty |
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 9f60ecb0126..42e6519e38c 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el | |||
| @@ -189,7 +189,9 @@ following ways: | |||
| 189 | Stealth fontification only occurs while the system remains unloaded. | 189 | Stealth fontification only occurs while the system remains unloaded. |
| 190 | If the system load rises above `jit-lock-stealth-load' percent, stealth | 190 | If the system load rises above `jit-lock-stealth-load' percent, stealth |
| 191 | fontification is suspended. Stealth fontification intensity is controlled via | 191 | fontification is suspended. Stealth fontification intensity is controlled via |
| 192 | the variable `jit-lock-stealth-nice'." | 192 | the variable `jit-lock-stealth-nice'. |
| 193 | |||
| 194 | If you need to debug code run from jit-lock, see `jit-lock-debug-mode'." | ||
| 193 | (setq jit-lock-mode arg) | 195 | (setq jit-lock-mode arg) |
| 194 | (cond | 196 | (cond |
| 195 | ((buffer-base-buffer) | 197 | ((buffer-base-buffer) |