1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Martin Rudalics
c8286c2ca4 (edebug-pop-to-buffer): Don't select window marked as dedicated. 2007-04-13 06:05:15 +00:00
Richard M. Stallman
5757788464 (edebug-display): Don't go to edebug-outside-buffer if it is dead. 2007-03-28 13:24:21 +00:00
Richard M. Stallman
e20e4a4836 (edebug-kill-buffer): New function.
(edebug-mode): Add the hook.
(edebug-recursive-edit): Remove the hook on exiting.
2007-03-04 17:53:03 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Chong Yidong
65b13f4bc0 Minor fix to last change. 2006-08-10 16:07:43 +00:00
Chong Yidong
3a79932757 * emacs-lisp/edebug.el (edebug-recursive-edit): Don't save and
restore unread-command-events here.
	(edebug-display): Do it here, to detect sit-for interruptions.
2006-08-10 15:27:41 +00:00
Richard M. Stallman
fea7b5149b (edebug-instrument-function): Err if find-function-noselect gives no position. 2006-07-12 16:04:23 +00:00
Richard M. Stallman
21662bd3eb (def-edebug-spec): Moved to subr.el. 2006-07-09 02:00:46 +00:00
Eli Zaretskii
65d04e7627 (edebug-basic-spec): New function for vetting file-local form specs. 2006-04-13 10:51:17 +00:00
Eli Zaretskii
309411cbe7 (edebug-display): Use `edebug-sit-for-seconds' value instead of a literal
constant (1) on more pauses.
2006-03-03 11:55:43 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Juri Linkov
eb53358796 (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.
2005-12-23 21:57:08 +00:00
Chong Yidong
14e7cb9400 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Capture
error from printing circular structures.
2005-12-17 15:45:55 +00:00
Stefan Monnier
6a6e859a93 (edebug-skip-whitespace): read1:lread.c says
that comments end at \n, regardless of selective-display.
2005-12-06 22:10:07 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Juanma Barranquero
e41acc77b8 (def-edebug-form-spec): Add obsolescence info and delete redundant message. Doc
fix.
(edebug-install-custom-print-funcs, edebug-reset-print-funcs,
edebug-uninstall-custom-print-funcs): Define as obsolete aliases.
2005-07-16 21:20:32 +00:00
Richard M. Stallman
3cc9e6d817 (edebug-slow-after, edebug-slow-before): Do nothing if edebug-active.
(edebug-enter): Don't do with-timeout-suspend here.
(edebug-display): Do it here instead.
2005-07-11 04:05:39 +00:00
Richard M. Stallman
e2dacaacaf (edebug-enter): Call with-timeout-suspend and with-timeout-unsuspend. 2005-07-10 17:23:54 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
ea400c880a (edebug): Finish `defgroup' description with period.
(edebug-display-freq-count): "?\ " -> "?\s".
2005-07-04 02:43:00 +00:00
Juri Linkov
45cbf2fe87 (edebug-eval-defun): Remove unnecessary quotes. 2005-07-04 01:07:57 +00:00
Juri Linkov
7cbb6dad76 (edebug-eval-defun):
Set `saved-face' temporarily to nil before calling form.
Set `customized-face' to the new spec after that.
2005-06-21 15:59:51 +00:00
Luc Teirlinck
8a33e9f1ca (edebug-goto-here): Doc fix. 2005-06-17 14:32:46 +00:00
Luc Teirlinck
b6386e6354 (edebug-all-defs, edebug-initial-mode, edebug-print-length)
(edebug-print-level, edebug-print-circle, edebug-modify-breakpoint)
(edebug-eval-last-sexp, edebug-eval-print-last-sexp): Doc fixes.
2005-06-14 20:39:04 +00:00
Lute Kamstra
e5d79aa59c (edebug-eval-mode-map): Don't copy lisp-interaction-mode-map but make
it the parent.
(edebug-eval-mode): Use define-derived-mode.
2005-06-11 08:40:47 +00:00
Juri Linkov
20c78df04b (edebug-set-global-break-condition):
Use `read-expression-history'.  Set initial contents only if
`edebug-global-break-condition' is non-nil.  Set histpos to 1
if initial contents is equal to the last history element.
(edebug-set-conditional-breakpoint): Instead of temporarily
prepending the current condition to the history, set initial
contents to the current condition.  Set histpos to 1 if initial
contents is equal to the last history element.
2004-11-28 07:57:10 +00:00
Richard M. Stallman
f5c9c551ad Comment changes. 2004-11-27 19:02:52 +00:00
Juri Linkov
392cf16dd0 (edebug-next-token-class): Allow all symbol-constituent characters
after dot, not only digits.
2004-11-05 19:07:07 +00:00
Juri Linkov
95e4aa8ef2 (edebug-eval-defun): Add `defface'. Fix docstring. 2004-06-10 04:18:04 +00:00
Juri Linkov
50a27de260 * emacs-lisp/edebug.el (edebug-compute-previous-result)
(edebug-eval-expression): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:03:53 +00:00
Stefan Monnier
e409c5272f (edebug-display): Bring up a debug trace if the source location can't be found.
(edebug-compute-previous-result): Use prin1-char.
2004-03-22 15:27:46 +00:00
Jonathan Yavner
01a9e5933d Add edebug specs for macros 1value' and noreturn'. 2003-11-30 06:58:00 +00:00
Richard M. Stallman
1ae7cf5ee8 (edebug-display-freq-count): Doc fix. 2003-10-20 23:46:31 +00:00
Richard M. Stallman
5fc58d8323 (edebug-var-status, edebug-restore-status): New functions.
(edebug-enter, edebug-outside-excursion): Use them.
2003-09-19 14:31:15 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
552754fed2 Typo (no clue what happened). 2003-05-30 15:35:54 +00:00
Stefan Monnier
5121ef4cd5 (edebug-storing-offsets): Move indent and debug to inside the macro.
(edebug-read-storing-offsets): Simplify.
(edebug-read-quote, edebug-read-function): Place the start-position correctly.
(edebug-read-backquote-new): Remove.
(edebug-read-backquote-level): New var to replace it.
(edebug-read-backquote): Increment it.  Don't store offsets one extra time.
(edebug-read-comma): Decrement it.  Read the comma as a plain
symbol if outside of any new-style backquote.
(edebug-read-list): Use edebug-read-backquote-level.
Don't call edebug-read-backquote directly.  This way the extra
offsets store is done exactly when it's needed.
(edebug-read-vector): Use push.
(defmacro): Add support for the `declare' thingy.
2003-05-30 15:34:02 +00:00
Stefan Monnier
d2d6d47de0 (define-derived-mode, define-minor-mode): Remove outdated spec.
(save-match-data, with-output-to-string, with-current-buffer)
(combine-after-change-calls, with-temp-buffer, dolist, dotimes)
(unless, when): Remove specs that are now in the corresponding macro.
2003-05-29 22:20:47 +00:00
Stefan Monnier
d778509cc2 (edebug-window-list): Use push.
(edebug-macrop): Use functionp.
(edebug-functionp): Remove.
(edebug-get-displayed-buffer-points): Use push.
(edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
(edebug-list-form): Remove dead code.
(backquote-form): Correctly handle `(a . ,b).
(edebug-mode-map, global-edebug-map): Move init to inside the defvar.
2003-05-29 22:09:24 +00:00
Juanma Barranquero
99edd7ed8d Fix character constants. 2003-02-18 11:01:34 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Stefan Monnier
f750141670 Don't precompute menu shortcuts during
loading since the current keymaps might be all weird.
2002-09-27 22:18:17 +00:00
Richard M. Stallman
1f1b7f93c2 (edebug-eval-top-level-form): Use eval-expression. 2002-08-02 18:00:18 +00:00
Richard M. Stallman
3795fe529d (edebug-debugger): If inside redisplay, just return. 2002-07-29 01:51:09 +00:00
Stefan Monnier
0c4a4faa07 (edebug-eval-defun): Don't use defconst on variables. 2002-04-12 03:20:46 +00:00
Stefan Monnier
0b936a1e08 (edebug-form-data, edebug-offsets)
(edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
(edebug-current-offset, edebug-old-def-name, edebug-error-point)
(edebug-best-error): Don't defconst a variable.
(edebug-read-syntax-table): Use a char-table.
(edebug-lemacs-specific): Remove.
Toplevel: Eliminate check for Lucid Emacs.
2001-11-17 00:51:55 +00:00
Stefan Monnier
3ebb84168d (delay-mode-hooks): Add edebug-spec.
(edebug-instrument-function): Use `find-function-noselect'.
2001-10-30 03:31:32 +00:00
Richard M. Stallman
10b088c638 (edebug-window-live-p): Always alias to window-live-p.
(edebug-set-conditional-breakpoint): Unconditionally use
the former Emacs >=19 definition.
(edebug-mark): Define unconditionally.
(edebug-eval-expression): Always call read-from-minibuffer
and specify history list.
(edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
edebug-set-conditional-breakpoint.
(edebug-emacs-version-specific): Function deleted;
do the job at top level.
(edebug-emacs-19-specific): Function deleted, this is the default.
2001-10-30 00:21:34 +00:00
Gerd Moellmann
78f2fcaf91 (rx): Add def-edebug-spec. 2001-10-01 07:30:38 +00:00
Gerd Moellmann
b4ae66334c (edebug-window-live-p): Use
get-window-with-predicate.
2001-09-07 11:32:18 +00:00