How do I insert a lenghthier list in my buffer with elisp?

elisp, emacs

Solution

try

(setq eval-expression-print-length nil)

in .emacs

Problem

If I do C-u M-: (to insert the result of a lisp statement into the buffer) and I then do something like: ``` (progn (setq x 0 l '()) (while(< x 30) (push (random 99) l) (incf x 1)) (nreverse l)) ``` I get: ``` (89 29 27 23 56 88 37 11 33 20 98 95 ...) ``` With trailing ellipsis. What's a way around this? Something like buffer-insert across the resulting list.

Original source