1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-06 07:31:13 -08:00
emacs/test/lisp
Gemini Lasswell ca98377280 Add new commands to Edebug backtraces
Add commands to go to source if available, and to show and hide
Edebug's instrumentation.  Make Edebug pop to backtraces instead of
displaying them, which makes Edebug consistant with the behavior of
ERT and the Lisp Debugger.
* doc/lispref/edebug.texi (Edebug Misc): Document when and how you can
jump to source code from an Edebug backtrace.  Document
'edebug-backtrace-show-instrumentation' and
'edebug-backtrace-hide-instrumentation'.
* lisp/emacs-lisp/backtrace.el (backtrace-frame): Add comments to
describe the fields.
(backtrace-goto-source-functions): New
abnormal hook.
(backtrace-mode-map): Add keybinding and menu item for
backtrace-goto-source.
(backtrace--flags-width): New constant.
(backtrace-update-flags): Use it.
(backtrace-goto-source): New command.
(backtrace--print-flags): Print the :source-available flag.
* lisp/emacs-lisp/edebug.el (edebug-backtrace-frames)
(edebug-instrumented-backtrace-frames): New variables.
(edebug-backtrace, edebug--backtrace-frames): Remove functions.
(edebug-pop-to-backtrace, edebug--backtrace-goto-source)
(edebug--add-source-info): New functions.
(edebug-mode-map, edebug-mode-menus): Replace 'edebug-backtrace' with
'edebug-pop-to-backtrace'.
(edebug--strip-instrumentation): New function.
(edebug--unwrap-and-add-info): Remove.
(edebug-unwrap-frame, edebug-add-source-info): New functions.
(edebug-backtrace-show-instrumentation)
(edebug-backtrace-hide-instrumentation): New commands.
* test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-check-keymap):
Verify keybindings in backtrace-mode-map used by new test.
Update with binding for 'edebug-pop-to-backtrace'.
(edebug-tests-backtrace-goto-source): New test.
* test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el
(edebug-test-code-range): Add a new stop point.
2018-08-03 08:54:08 -07:00
..
calc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calendar Fix todo-mode commands called on done items separator 2018-08-01 14:42:57 +02:00
emacs-lisp Add new commands to Edebug backtraces 2018-08-03 08:54:08 -07:00
emulation Update copyright year to 2018 2018-01-01 00:57:59 -08:00
erc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eshell esh-opt.el: Add a :parse-leading-options-only argument (Bug#28323) 2018-05-15 19:32:49 -04:00
gnus Use “Cc” for email copies, as per RFC 5322. 2018-05-20 11:02:50 -07:00
international Update Unicode data files to version 11.0.0 of Unicode 2018-06-09 15:41:21 +03:00
mail Update copyright year to 2018 2018-01-01 00:57:59 -08:00
net Fix (Bug#32218). Do not merge with master 2018-07-20 10:56:41 +02:00
org Recognize Org as builtin package (bug#30310) 2018-02-02 21:09:09 -05:00
progmodes Merge from origin/emacs-26 2018-07-13 09:28:15 -07:00
textmodes Add Imenu support to CSS mode and its derivatives 2018-05-29 21:24:26 +02:00
url Rewrite `url-domain' to avoid network traffic 2018-05-01 14:26:38 +02:00
vc * test/lisp/vc/vc-tests.el (w32-application-type): Fix declaration. 2018-03-09 16:36:50 -05:00
abbrev-tests.el Preserve special abbrev properties when writing 2018-02-17 08:47:20 -05:00
arc-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
auth-source-pass-tests.el Test checking that auth-source-pass backend is correctly installed 2018-06-05 15:53:33 +02:00
auth-source-tests.el Merge from origin/emacs-26 2018-07-20 10:00:32 -07:00
autorevert-tests.el Use file notification in autorevert also for recreated files 2018-01-20 16:26:02 +01:00
buff-menu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
char-fold-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
color-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
comint-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
custom-tests.el Fix custom-available-themes file expansion 2018-07-13 11:28:16 -04:00
dabbrev-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
descr-text-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dired-aux-tests.el Honor dired-create-destination-dirs if copying/renaming >1 files 2018-04-05 12:15:54 +09:00
dired-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
dired-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dom-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
electric-tests.el Mark a specific electric-pair-mode test as an expected failure 2018-06-19 02:53:10 +01:00
epg-tests.el ; Remove tracing for epg-tests (Bug#23561) 2018-07-16 07:12:07 -04:00
faces-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ffap-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
filenotify-tests.el * lisp/subr.el (dotimes): Deprecate RESULT field. (Bug#16206) 2018-04-28 23:20:33 +03:00
files-tests.el Fix selinux test in files-tests.el 2018-06-05 09:43:34 +02:00
files-x-tests.el Fix Bug#32090 2018-07-09 16:03:49 +02:00
help-fns-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
hi-lock-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
htmlfontify-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ido-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
imenu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
info-xref-tests.el ; * test/lisp/info-xref-tests.el: Remove stray line from previous. 2018-03-19 17:08:46 -04:00
isearch-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
jit-lock-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
json-tests.el Fix pretty-printing empty objects as null 2018-06-14 11:01:49 +02:00
jsonrpc-tests.el Adjust previous jsonrpc change 2018-07-03 08:21:56 +01:00
kmacro-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ls-lisp-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
man-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
md4-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
minibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
mouse-tests.el * test/lisp/mouse-tests.el: Fix tests broken by mouse.el change 2018-01-30 17:37:20 -05:00
obarray-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ps-print-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
register-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
replace-tests.el query-replace undo: Handle when user edits the replacement string 2018-06-03 23:28:30 +09:00
rot13-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ses-tests.el * test/lisp/ses-tests.el: Quieten compilation. 2018-03-15 12:32:50 -04:00
shadowfile-tests.el Merge from origin/emacs-26 2018-07-28 07:50:36 -07:00
shell-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
simple-tests.el * test/lisp/simple-tests.el (simple-tests-async-shell-command-30280): 2018-06-17 10:22:28 -07:00
sort-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
soundex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
subr-tests.el Add predicate proper-list-p 2018-07-09 19:00:43 -07:00
tar-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
term-tests.el Merge from emacs-26 2018-06-10 18:47:27 -04:00
thingatpt-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
wdired-tests.el Add initial tests for wdired.el 2018-07-29 00:22:02 +02:00
whitespace-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xdg-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
xml-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xt-mouse-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00