What controls the print depth of lisp forms? For example:
(macroexpand '(defun foo () (let ((bar)) (+ 1 2))))
becomes
(defalias (quote foo) (function (lambda nil (let ... ...))))
in the *Messages*
buffer.
What controls the print depth of lisp forms? For example:
(macroexpand '(defun foo () (let ((bar)) (+ 1 2))))
becomes
(defalias (quote foo) (function (lambda nil (let ... ...))))
in the *Messages*
buffer.
Print length/depth for the echo area are in eval-expression-print-length
and eval-expresssion-print-depth
respectively.
For general printing (e.g. princ
), the relevant variables are print-length
and print-level
.
eval-expression-print-length
andeval-expression-print-level
. Here is a semi-related thread: http://emacs.stackexchange.com/questions/7978/how-can-i-view-the-full-package-alist-value-without-the-truncation-characters/7983#7983 – lawlist Sep 25 '16 at 22:26print-length
andprint-level
. – Tianxiang Xiong Sep 25 '16 at 22:35