Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我执行 Cu M-: (将 lisp 语句的结果插入缓冲区),然后执行以下操作:
(progn (setq x 0 l '()) (while(< x 30) (push (random 99) l) (incf x 1)) (nreverse l))
我得到:
(89 29 27 23 56 88 37 11 33 20 98 95 ...)
带有尾随省略号。有什么办法解决这个问题?结果列表中的缓冲区插入之类的东西。
尝试
(setq eval-expression-print-length nil)
在 .emacs 中
M-:(insert (pp (loop repeat 30 collect (random 99))))
(insert (pp (loop repeat 30 collect (random 99))))
可能需要(require 'cl)先。
(require 'cl)