2

I can't show all elements of list in scratch buffer. For example,

(coding-system-list) ->(binary no-conversion undecided prefer-utf-8 raw-text no-conversion-multibyte latin-1 iso-8859-1 iso-latin-1 emacs-mule cp65001 mule-utf-8 ...) 

There 269 elements by function length. How can I know all of them without '...'? Is there any variable to set max number of elements?

0

1 Answer 1

1

Evaluating this will give you a list of most (perhaps all) relevant variables, along with their descriptions, for your currently-loaded libraries:

(apropos-variable "\\(print\\|line\\)-\\(length\\|level\\)") 

As additional variables might be added in future, I suggest keeping a commented copy of that form in your config so that if you run into a similar issue in future which isn't covered by the variables you already know about, you'll know what to check next.

The following shows some defaults from Emacs 30.1. Adjust them as you prefer:

;; Configure truncation of printed values. (setq print-length nil print-level nil eval-expression-print-length 12 eval-expression-print-level 4 edebug-print-length 50 edebug-print-level 50 ert-batch-print-length 10 ert-batch-print-level 5 ) 

(The one causing your current problem is eval-expression-print-length.)

1
  • Thank you for the careful and quick answer. I'll study also other variables you wrote. However, sometimes everything is displayed without me having to change the variables, so I wondered if there was some key operation involved. Anyway, thanks again. Commented Jun 24 at 14:35

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.