diff options
| author | Juri Linkov | 2005-12-23 21:57:08 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-12-23 21:57:08 +0000 |
| commit | eb53358796975b82f31b7d64228bf4325d705019 (patch) | |
| tree | da53f4953bcf2378fcf686ccde91e828e56ca5e4 | |
| parent | 8a30a619e2c8d207a7edca9f373c09444099cce6 (diff) | |
| download | emacs-eb53358796975b82f31b7d64228bf4325d705019.tar.gz emacs-eb53358796975b82f31b7d64228bf4325d705019.zip | |
(edebug-all-defs, edebug-all-forms): Add autoload cookies.
(edebug-outside-d-c-i-n-s-w): New variable.
(edebug-display, edebug-outside-excursion): Use it to save the
original value of default-cursor-in-non-selected-windows.
Set default-cursor-in-non-selected-windows to t while Edebug is active.
(edebug-mode, edebug-eval-mode): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 32 | ||||
| -rw-r--r-- | lisp/emacs-lisp/edebug.el | 16 |
2 files changed, 44 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 21a25f79be3..029c0b93d7d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,35 @@ | |||
| 1 | 2005-12-23 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * emacs-lisp/edebug.el (edebug-all-defs, edebug-all-forms): | ||
| 4 | Add autoload cookies. | ||
| 5 | (edebug-outside-d-c-i-n-s-w): New variable. | ||
| 6 | (edebug-display, edebug-outside-excursion): Use it to save the | ||
| 7 | original value of default-cursor-in-non-selected-windows. | ||
| 8 | Set default-cursor-in-non-selected-windows to t while Edebug | ||
| 9 | is active. | ||
| 10 | (edebug-mode, edebug-eval-mode): Doc fix. | ||
| 11 | |||
| 12 | * mouse.el (mouse-choose-completion): Replace `buffer-substring' | ||
| 13 | with `buffer-substring-no-properties' to remove common substring | ||
| 14 | highlighting. | ||
| 15 | |||
| 16 | * info.el (info-other-window, info): Rename function argument | ||
| 17 | `file' to `file-or-node'. | ||
| 18 | (Info-complete-menu-item): Use local variable `complete-nodes' to | ||
| 19 | keep the global value of `Info-complete-nodes' unchanged for | ||
| 20 | subsequent completions. | ||
| 21 | (info-tool-bar-map): Put `Info-index' icon just before `Info-search'. | ||
| 22 | |||
| 23 | * simple.el (get-next-valid-buffer, last-buffer) | ||
| 24 | (next-error-buffer-p, next-error-find-buffer) | ||
| 25 | (minibuffer-history-sexp-flag): Doc fix. | ||
| 26 | |||
| 27 | * savehist.el (savehist-mode-hook): Add `:group'. | ||
| 28 | |||
| 29 | * log-view.el: Call autoload for vc-find-version. | ||
| 30 | (log-view-current-file): Adjust subgroup numbers. | ||
| 31 | (log-view-current-tag): Add `length'. | ||
| 32 | |||
| 1 | 2005-12-23 Richard M. Stallman <rms@gnu.org> | 33 | 2005-12-23 Richard M. Stallman <rms@gnu.org> |
| 2 | 34 | ||
| 3 | * vc.el (vc-annotate-car-last-cons): Defn moved up. | 35 | * vc.el (vc-annotate-car-last-cons): Defn moved up. |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 9290ede2bdf..beb88cfea25 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -570,6 +570,7 @@ already is one.)" | |||
| 570 | ;; Compatibility with old versions. | 570 | ;; Compatibility with old versions. |
| 571 | (defalias 'edebug-all-defuns 'edebug-all-defs) | 571 | (defalias 'edebug-all-defuns 'edebug-all-defs) |
| 572 | 572 | ||
| 573 | ;;;###autoload | ||
| 573 | (defun edebug-all-defs () | 574 | (defun edebug-all-defs () |
| 574 | "Toggle edebugging of all definitions." | 575 | "Toggle edebugging of all definitions." |
| 575 | (interactive) | 576 | (interactive) |
| @@ -578,6 +579,7 @@ already is one.)" | |||
| 578 | (if edebug-all-defs "on" "off"))) | 579 | (if edebug-all-defs "on" "off"))) |
| 579 | 580 | ||
| 580 | 581 | ||
| 582 | ;;;###autoload | ||
| 581 | (defun edebug-all-forms () | 583 | (defun edebug-all-forms () |
| 582 | "Toggle edebugging of all forms." | 584 | "Toggle edebugging of all forms." |
| 583 | (interactive) | 585 | (interactive) |
| @@ -2516,6 +2518,7 @@ MSG is printed after `::::} '." | |||
| 2516 | (defvar edebug-outside-o-a-p) ; outside overlay-arrow-position | 2518 | (defvar edebug-outside-o-a-p) ; outside overlay-arrow-position |
| 2517 | (defvar edebug-outside-o-a-s) ; outside overlay-arrow-string | 2519 | (defvar edebug-outside-o-a-s) ; outside overlay-arrow-string |
| 2518 | (defvar edebug-outside-c-i-e-a) ; outside cursor-in-echo-area | 2520 | (defvar edebug-outside-c-i-e-a) ; outside cursor-in-echo-area |
| 2521 | (defvar edebug-outside-d-c-i-n-s-w) ; outside default-cursor-in-non-selected-windows | ||
| 2519 | 2522 | ||
| 2520 | (defvar edebug-eval-list nil) ;; List of expressions to evaluate. | 2523 | (defvar edebug-eval-list nil) ;; List of expressions to evaluate. |
| 2521 | 2524 | ||
| @@ -2557,11 +2560,13 @@ MSG is printed after `::::} '." | |||
| 2557 | 2560 | ||
| 2558 | (edebug-outside-o-a-p overlay-arrow-position) | 2561 | (edebug-outside-o-a-p overlay-arrow-position) |
| 2559 | (edebug-outside-o-a-s overlay-arrow-string) | 2562 | (edebug-outside-o-a-s overlay-arrow-string) |
| 2560 | (edebug-outside-c-i-e-a cursor-in-echo-area)) | 2563 | (edebug-outside-c-i-e-a cursor-in-echo-area) |
| 2564 | (edebug-outside-d-c-i-n-s-w default-cursor-in-non-selected-windows)) | ||
| 2561 | (unwind-protect | 2565 | (unwind-protect |
| 2562 | (let ((overlay-arrow-position overlay-arrow-position) | 2566 | (let ((overlay-arrow-position overlay-arrow-position) |
| 2563 | (overlay-arrow-string overlay-arrow-string) | 2567 | (overlay-arrow-string overlay-arrow-string) |
| 2564 | (cursor-in-echo-area nil) | 2568 | (cursor-in-echo-area nil) |
| 2569 | (default-cursor-in-non-selected-windows t) | ||
| 2565 | ;; any others?? | 2570 | ;; any others?? |
| 2566 | ) | 2571 | ) |
| 2567 | (if (not (buffer-name edebug-buffer)) | 2572 | (if (not (buffer-name edebug-buffer)) |
| @@ -2767,7 +2772,8 @@ MSG is printed after `::::} '." | |||
| 2767 | (setq | 2772 | (setq |
| 2768 | overlay-arrow-position edebug-outside-o-a-p | 2773 | overlay-arrow-position edebug-outside-o-a-p |
| 2769 | overlay-arrow-string edebug-outside-o-a-s | 2774 | overlay-arrow-string edebug-outside-o-a-s |
| 2770 | cursor-in-echo-area edebug-outside-c-i-e-a) | 2775 | cursor-in-echo-area edebug-outside-c-i-e-a |
| 2776 | default-cursor-in-non-selected-windows edebug-outside-d-c-i-n-s-w) | ||
| 2771 | ))) | 2777 | ))) |
| 2772 | 2778 | ||
| 2773 | 2779 | ||
| @@ -3580,6 +3586,7 @@ Return the result of the last expression." | |||
| 3580 | (overlay-arrow-position edebug-outside-o-a-p) | 3586 | (overlay-arrow-position edebug-outside-o-a-p) |
| 3581 | (overlay-arrow-string edebug-outside-o-a-s) | 3587 | (overlay-arrow-string edebug-outside-o-a-s) |
| 3582 | (cursor-in-echo-area edebug-outside-c-i-e-a) | 3588 | (cursor-in-echo-area edebug-outside-c-i-e-a) |
| 3589 | (default-cursor-in-non-selected-windows edebug-outside-d-c-i-n-s-w) | ||
| 3583 | ) | 3590 | ) |
| 3584 | (unwind-protect | 3591 | (unwind-protect |
| 3585 | (save-excursion ; of edebug-buffer | 3592 | (save-excursion ; of edebug-buffer |
| @@ -3618,6 +3625,7 @@ Return the result of the last expression." | |||
| 3618 | edebug-outside-o-a-p overlay-arrow-position | 3625 | edebug-outside-o-a-p overlay-arrow-position |
| 3619 | edebug-outside-o-a-s overlay-arrow-string | 3626 | edebug-outside-o-a-s overlay-arrow-string |
| 3620 | edebug-outside-c-i-e-a cursor-in-echo-area | 3627 | edebug-outside-c-i-e-a cursor-in-echo-area |
| 3628 | edebug-outside-d-c-i-n-s-w default-cursor-in-non-selected-windows | ||
| 3621 | ) | 3629 | ) |
| 3622 | 3630 | ||
| 3623 | ;; Restore the outside saved values; don't alter | 3631 | ;; Restore the outside saved values; don't alter |
| @@ -3897,7 +3905,7 @@ buffer) there are local and global key bindings to several Edebug | |||
| 3897 | specific commands. E.g. `edebug-step-mode' is bound to \\[edebug-step-mode] | 3905 | specific commands. E.g. `edebug-step-mode' is bound to \\[edebug-step-mode] |
| 3898 | in the Edebug buffer and \\<global-map>\\[edebug-step-mode] in any buffer. | 3906 | in the Edebug buffer and \\<global-map>\\[edebug-step-mode] in any buffer. |
| 3899 | 3907 | ||
| 3900 | Also see bindings for the eval list buffer, *edebug*. | 3908 | Also see bindings for the eval list buffer *edebug* in `edebug-eval-mode'. |
| 3901 | 3909 | ||
| 3902 | The edebug buffer commands: | 3910 | The edebug buffer commands: |
| 3903 | \\{edebug-mode-map} | 3911 | \\{edebug-mode-map} |
| @@ -4054,7 +4062,7 @@ buffer and \\<global-map>\\[edebug-step-mode] in any buffer. | |||
| 4054 | Eval list buffer commands: | 4062 | Eval list buffer commands: |
| 4055 | \\{edebug-eval-mode-map} | 4063 | \\{edebug-eval-mode-map} |
| 4056 | 4064 | ||
| 4057 | Global commands prefixed by global-edebug-prefix: | 4065 | Global commands prefixed by `global-edebug-prefix': |
| 4058 | \\{global-edebug-map}") | 4066 | \\{global-edebug-map}") |
| 4059 | 4067 | ||
| 4060 | ;;; Interface with standard debugger. | 4068 | ;;; Interface with standard debugger. |