emacs/test/lisp/emacs-lisp
Gemini Lasswell a3ba34aeac Add new command to expand all "..."s in a backtrace frame
* doc/lispref/debugging.texi (Backtraces): Document new keybinding.
* lisp/emacs-lisp/backtrace.el (backtrace-line-length): Add the
option of unlimited line length.
(backtrace--match-ellipsis-in-string): Add a comment to explain
why this function is necessary.
(backtrace-mode-map): Add keybinding for 'backtrace-expand-ellipses'.
(backtrace-expand-ellipsis): Use 'cl-print-to-string-with-limit'.
(backtrace-expand-ellipses): New command.
(backtrace-print-to-string): Use 'cl-print-to-string-with-limit'.
Tag the printed forms with a gensym instead of the values of
print-length and print-level.
(backtrace--print): Add 'stream' argument.
* test/lisp/emacs-lisp/backtrace-tests.el
(backtrace-tests--expand-ellipsis): Make the test less dependent
on the implementation.
(backtrace-tests--expand-ellipses): New test.

Move the fitting of a printed representation into a limited number of
characters using appropriate values of print-level and print-length
from 'backtrace-print-to-string' to cl-print.el for future use by
other parts of Emacs.
* lisp/emacs-lisp/cl-print.el (cl-print-to-string-with-limit): New
function.
* test/lisp/emacs-lisp/cl-print-tests.el
(cl-print-tests-print-to-string-with-limit): New test.
2018-08-03 08:53:02 -07:00
..
edebug-resources Fix Edebug spec for cl-macrolet (bug#29919) 2018-08-01 13:59:49 -07:00
eieio-tests Merge from origin/emacs-26 2018-03-22 07:50:37 -07:00
faceup-resources Update copyright year to 2018 2018-01-01 01:25:56 -08:00
faceup-tests Update copyright year to 2018 2018-01-01 01:25:56 -08:00
package-resources Don't use IP 0.0.0.0 for package test server (Bug#22582) 2017-02-25 12:56:09 -05:00
shadow-resources Handle case-insensitive filenames for load-path shadows (Bug#5845) 2018-01-18 16:26:52 -05:00
testcover-resources Fix Testcover bug in handling of vectors containing dotted lists 2018-04-02 09:38:12 -07:00
backtrace-tests.el Add new command to expand all "..."s in a backtrace frame 2018-08-03 08:53:02 -07:00
benchmark-tests.el (benchmark-run-compiled): Make it work like 'benchmark-run' again 2018-03-27 16:19:40 -04:00
bytecomp-tests.el Fix byte compilation of (eq foo 'default) 2018-06-16 09:44:05 -07:00
cconv-tests.el Don't forget to analyze args of lambda lifted functions (Bug#30872) 2018-06-16 18:34:19 -04:00
checkdoc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-extra-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-generic-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-lib-tests.el * lisp/emacs-lisp/cl-macs.el (cl--sm-macroexpand): Handle lambda! 2018-02-08 21:41:21 -05:00
cl-macs-tests.el Prevent name clashes between CL structures and builtin types 2018-01-28 19:21:47 +01:00
cl-preloaded-tests.el ; * test/lisp/emacs-lisp/cl-preloaded-tests.el: Fix copyright notice. 2018-01-28 18:07:03 -08:00
cl-print-tests.el Add new command to expand all "..."s in a backtrace frame 2018-08-03 08:53:02 -07:00
cl-seq-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-tests.el Fix #'fun handling inside `labels' (Bug#31792) 2018-06-19 20:02:16 -04:00
derived-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
edebug-tests.el Fix Edebug spec for cl-macrolet (bug#29919) 2018-08-01 13:59:49 -07:00
ert-tests.el Add backtrace-mode and use it in the debugger, ERT and Edebug 2018-08-03 08:53:02 -07:00
ert-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
generator-tests.el ; Add test for iter-lambda variable shadowing (Bug#26073) 2018-02-14 21:31:06 -05:00
gv-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
let-alist-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
lisp-mode-tests.el Don't fail to indent-sexp before a full sexp (Bug#31984) 2018-07-27 19:41:39 -04:00
lisp-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
map-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
nadvice-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
package-tests.el Don't test symmetric operations on gpg 2.0 (Bug#23561) 2018-07-15 16:26:22 -04:00
pcase-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
pp-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
regexp-opt-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ring-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rmc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rx-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
seq-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
shadow-tests.el ; Spelling fix 2018-01-22 08:42:29 -08:00
subr-x-tests.el Tweak subr-x.el substring functions 2018-07-13 11:28:16 -04:00
tabulated-list-test.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
testcover-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
text-property-search-tests.el Add a test suite for text-property-search 2018-04-22 16:57:16 +02:00
thunk-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
timer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00