Luc Teirlinck
a5f1e15451
(debug-help-follow): Revert last change.
2006-03-20 04:44:47 +00:00
Luc Teirlinck
db13394c30
(debug-help-follow): Adapt comment to change in help-mode.el.
2006-03-20 00:38:09 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Stefan Monnier
1fe3c8f535
(debugger-make-xrefs): Don't assume case-fold-search is nil.
...
(debug-help-follow): Use help-xref-interned directly.
2005-10-24 03:52:35 +00:00
Romain Francoise
5b76833fd5
2005-09-24 Emilio C. Lopes <eclig@gmx.net>
...
* woman.el (woman-file-name):
* wid-edit.el (widget-file-prompt-value)
(widget-coding-system-prompt-value):
* w32-fns.el (set-w32-system-coding-system):
* vc.el (vc-version-diff, vc-annotate):
* textmodes/reftex-auc.el (reftex-arg-cite)
(reftex-arg-index-tag):
* textmodes/refer.el (refer-get-bib-files):
* textmodes/artist.el (artist-figlet-choose-font):
* terminal.el (terminal-emulator):
* replace.el (occur-read-primary-args):
* rect.el (string-rectangle, string-insert-rectangle):
* ps-print.el (ps-print-preprint):
* progmodes/pascal.el (pascal-goto-defun):
* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
* progmodes/compile.el (compilation-find-file):
* printing.el (pr-interactive-n-up):
* play/animate.el (animate-birthday-present):
* net/rcompile.el (remote-compile):
* man.el (man, Man-goto-section, Man-follow-manual-reference):
* mail/rmailsum.el (rmail-summary-search-backward)
(rmail-summary-search):
* mail/rmailout.el (rmail-output-read-rmail-file-name)
(rmail-output-read-file-name):
* mail/rmail.el (rmail-search, rmail-search-backwards):
* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
* locate.el (locate):
* international/quail.el (quail-show-keyboard-layout):
* international/mule.el (set-buffer-file-coding-system)
(revert-buffer-with-coding-system, set-file-name-coding-system)
(set-terminal-coding-system, set-keyboard-coding-system)
(set-next-selection-coding-system):
* international/mule-diag.el (describe-coding-system)
(describe-font, describe-fontset):
* international/mule-cmds.el (universal-coding-system-argument)
(search-unencodable-char, describe-input-method)
(set-language-environment, describe-language-environment):
* international/codepage.el (codepage-setup):
* international/code-pages.el (codepage-setup):
* info.el (Info-search, Info-follow-reference)
(Info-search-backward):
* emacs-lisp/advice.el (ad-read-advised-function)
(ad-read-advice-class, ad-clear-cache, ad-activate)
(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
(ad-enable-advice, ad-disable-advice, ad-remove-advice)
(ad-read-regexp):
* ediff-util.el (ediff-toggle-regexp-match):
* ediff-ptch.el (ediff-prompt-for-patch-file):
* dired-aux.el (dired-diff):
* diff.el (diff):
* cus-edit.el (custom-variable-prompt):
* calendar/timeclock.el (timeclock-ask-for-project):
* calc/calcalg3.el (calc-get-fit-variables):
* calc/calc-store.el (calc-edit-variable)
(calc-permanent-variable):
* vc-mcvs.el (vc-mcvs-register):
* shadowfile.el (shadow-define-literal-group):
* woman.el (woman-file-name):
* vc.el (vc-version-diff, vc-merge):
* textmodes/reftex-index.el (reftex-index-complete-tag):
* format.el (format-decode-buffer, format-decode-region):
* emulation/viper-cmd.el (viper-read-string-with-history):
* emacs-lisp/debug.el (cancel-debug-on-entry):
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* ediff.el (ediff-merge-revisions)
(ediff-merge-revisions-with-ancestor, ediff-revision):
* completion.el (interactive-completion-string-reader):
* calc/calc-prog.el (calc-user-define-formula):
Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Richard M. Stallman
385480e59a
(debug): Call with-timeout-suspend and with-timeout-unsuspend.
2005-07-10 17:19:07 +00:00
Richard M. Stallman
028d38a278
Move debugger-mode to a more natural place.
2005-07-10 17:07:19 +00:00
Richard M. Stallman
245f0222c6
(debug-help-follow): New function.
...
(debugger-mode-map): Use that instead of help-follow.
(debugger-setup-buffer): Use eval-buffer-list to handle eval-buffer frames.
2005-07-10 17:06:33 +00:00
Richard M. Stallman
b9549e9dc7
(debugger-setup-buffer): When eval-buffer
...
was called with nil for the buffer, handle the read position right.
Handle read position for eval-region, too.
2005-07-09 04:14:26 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Stefan Monnier
01bf52cbaf
(debug): Quieten Drew Adams.
2005-06-30 22:18:27 +00:00
Lute Kamstra
ce5ce46def
(debugger-special-form-p): New defun.
...
(debug-on-entry): Use it. New interactive declaration that uses
function-called-at-point.
2005-06-23 08:20:33 +00:00
Lute Kamstra
8ac3941d04
(debug-on-entry): Fix docstring.
2005-06-14 12:00:50 +00:00
Luc Teirlinck
922a9de306
(cancel-debug-on-entry): Mention default in minibuffer prompt.
2005-06-13 23:40:05 +00:00
Lute Kamstra
dd72a03ac2
(cancel-debug-on-entry): Make the empty string argument obsolete.
2005-06-13 08:14:06 +00:00
Luc Teirlinck
8e71c318da
(debug-on-entry, cancel-debug-on-entry): Doc fixes.
2005-06-11 23:52:51 +00:00
Stefan Monnier
9b530428ea
(debugger-will-be-back): New var.
...
(debug): Use it.
(debugger-step-through, debugger-continue, debugger-jump)
(debugger-return-value): Set it when needed.
(debugger-make-xrefs, debugger-frame, debugger-frame-clear):
Use inhibit-read-only.
2005-06-09 03:09:30 +00:00
Stefan Monnier
d48f0f00da
(debug): Don't iconify if we know we'll re-enter the debugger immediately
...
anyway. Undo the 2005-06-06 change, rendered unnecessary now.
2005-06-08 19:35:54 +00:00
Stefan Monnier
532c188a19
(debug): Don't bury the buffer unless it's in a dedicated window.
2005-06-06 19:47:05 +00:00
Richard M. Stallman
77932668c2
(debugger-window): New variable.
...
(debug): Use debugger-window if it is set and still alive.
Record debugger-window for next entry.
2005-06-06 12:29:57 +00:00
Lute Kamstra
d702990801
(debug-on-entry): Handle autoloaded functions and compiled macros.
...
(debug-convert-byte-code): Handle macros too.
(debug-on-entry-1): Don't signal an error when trying to clear a
function that is not set to debug on entry.
2005-03-29 13:59:41 +00:00
Stefan Monnier
be940bc538
(debugger-record-expression): Add a missing format to `message'.
...
Inspired by Deepak Goel <deego@gnufans.org>.
2005-03-26 14:46:16 +00:00
Lute Kamstra
dc64809a6f
(debugger-make-xrefs): Docstring fix. Ignore a `*' at the beginning
...
of a line.
2005-03-14 17:46:09 +00:00
Lute Kamstra
c4fbcb0182
(debug): Set debug-on-exit before calling debugger-setup-buffer so
...
that backtrace marks the frames set to debug-on-exit and we don't have
to do it manually. Set an extra debug-on-exit for macro's.
(debugger-setup-buffer): Don't mark the top frame manually.
2005-03-13 20:54:14 +00:00
Lute Kamstra
449808f757
(debug-entry-code): Delete it.
...
(implement-debug-on-entry): New function to replace debug-entry-code.
(debug-on-entry-1): Use implement-debug-on-entry. Delete the second
argument as the 2005-03-07 change makes it obsolete.
(debug-on-entry, cancel-debug-on-entry): Update call to
debug-on-entry-1.
(debug, debugger-setup-buffer): Comment update.
(debugger-frame-number): Update to work with implement-debug-on-entry.
2005-03-10 09:43:01 +00:00
Lute Kamstra
9b54d4534e
(debugger-step-through): Make sure that stepping into the debugger's
...
code is not possible.
(debugger-jumping-flag): Docstring update.
2005-03-08 20:15:57 +00:00
Stefan Monnier
a29cf45057
(debug-on-entry-1): Fix handling of macros.
2005-03-07 14:12:27 +00:00
Lute Kamstra
15cf150db7
(debugger-step-after-exit): Make it a defvar.
...
(debug-function-list): Ditto.
2005-03-04 14:48:14 +00:00
Lute Kamstra
b6b77a9068
(inhibit-debug-on-entry): Add docstring.
...
(debugger-jumping-flag): New var.
(debug-entry-code): Use it.
(debugger-jump): Use debugger-jumping-flag and add debugger-reenable
to post-command-hook.
(debugger-reenable): Use debugger-jumping-flag and remove itself from
post-command-hook.
(debug, debug-on-entry, cancel-debug-on-entry): Remove call to
debugger-reenable.
2005-03-03 16:25:13 +00:00
Lute Kamstra
439368ed41
(debug): Skip one more frame in case of debug on entry.
...
(debugger-setup-buffer): Delete one more frame line in case of debug
on entry.
(debugger-frame-number): Update to use the new text introduced by the
1999-11-03 change. Skip one more frame in case of debug on entry.
2005-03-01 13:02:37 +00:00
Lute Kamstra
07f3fdb1d1
(debug-on-entry-1): Reimplement to make sure that debug-entry-code can
...
be safely removed from a function while this code is being evaluated.
Revert the 2005-02-27 change as the new implementation no longer
requires it. Make sure that a function body containing just a string
is not mistaken for a docstring.
2005-03-01 09:08:47 +00:00
Stefan Monnier
cf9a1b693f
(inhibit-debug-on-entry): New var.
...
(debug): Use it. Move the inhibit-trace earlier.
(debug-entry-code): New const.
(debug-on-entry-1): Use it.
2005-02-28 14:33:50 +00:00
Richard M. Stallman
e29824bddc
(debug-on-entry-1): If function body is empty, add nil as body form.
2005-02-27 09:57:51 +00:00
Stefan Monnier
3f4468ab4e
(debug): Put back the inhibit-trace.
2005-02-27 02:26:05 +00:00
Stefan Monnier
78d54deee7
(debug): Hide the buffer if it's not killed.
...
Remove unused and inexistent var `inhibit-trace'.
(debugger-mode): Use run-mode-hooks.
(debugger-list-functions): Add buttons; setup xref stack.
2005-02-26 05:28:24 +00:00
Richard M. Stallman
654359e2e3
(debugger-make-xrefs): Call symbol-file with `defun'.
2004-12-27 16:17:46 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
12cf32ce47
(debug, debugger-env-macro): Use with-no-warnings while accessing and
...
binding unread-command-char.
2003-07-07 20:57:50 +00:00
Stefan Monnier
2f74c84b7d
(debug): Fix call to message.
2003-06-16 18:54:23 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Richard M. Stallman
c82fbd0cfa
Comment change.
2002-07-29 02:09:19 +00:00
Richard M. Stallman
e734f58457
(debug): If redisplaying, just return.
2002-07-29 01:49:45 +00:00
Stefan Monnier
7473b6ad84
(debug-on-entry): Fix the wrapper used for
...
aliases to also work for interactive functions.
Use the same wrapper for subroutines.
(cancel-debug-on-entry): Get rid of the now-useless wrapper.
(debug-on-entry-1): Correctly skip docstrings and interactive forms.
2002-07-07 20:25:23 +00:00
Stefan Monnier
cafbc9a576
(cancel-debug-on-entry): Don't cons uselessly.
2002-06-18 21:53:30 +00:00
Stefan Monnier
6836bb6931
(debug-on-entry): Use push.
...
(debugger-make-xrefs): Don't assume point-min == 1.
2002-04-12 03:19:09 +00:00
Miles Bader
bb9a622e93
Require `button'.
...
(debugger-mode-map): Set the parent keymap to `button-buffer-map',
to get TAB and <backtab> bindings.
2002-03-14 09:02:36 +00:00
Richard M. Stallman
27bde5f0d3
(debugger-frame-offset): Var deleted.
...
(debugger-frame-number): Figure out the offset directly.
(debugger-setup-buffer): Don't use debugger-frame-offset.
(debugger-frame, debugger-frame-clear): Likewise.
(debugger-jump): Don't alter debugger-frame-offset.
2002-02-06 15:36:41 +00:00
Richard M. Stallman
fa5b1b57fe
(debugger-frame-clear, debugger-frame): Error on non-frame line.
2002-02-01 04:24:22 +00:00
Richard M. Stallman
65fe45f2ea
(debugger-setup-buffer): When an eval-buffer frame was reading from a buffer,
...
insert indication of the buffer position.
(debugger-frame-number): Ignore ;;;-comment lines in backtrace.
2002-02-01 04:21:38 +00:00