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.
当从临时缓冲区评估时,为什么 elisp 调试器说变量“a”是无效的?
(setq a "b") (insert a)
报告的错误是:
Debugger entered--Lisp error: (void-variable a)
你一定忘了做一个C-j. 有了它,您还可以获得将评估结果插入缓冲区的反馈。我也建议使用ielm.
ielm
这是整个序列,以防万一:
emacs -q
*scratch*
(setq a "b")
"b"
(insert a)
bnil
a
nil
insert