【发布时间】:2017-02-04 16:56:41
【问题描述】:
我在开发环境中使用带有 SLIME 的 Emacs。当我输入 (write-to 然后 C-M-i 我得到以下自动完成:
Click on a completion to select it.
In this buffer, type RET to select the completion near point.
Possible completions are:
write-to-sting
write-to-string
我知道 Common Lisp 很强大,但我猜 write-to-sting 不在 ANSI 标准中。谷歌没有为这个功能提供一个单一的点击。然后我试图在SBCL代码中找到它,但是alas
(documentation 'write-to-sting 'function) 返回nil,因此它没有文档字符串。
当我尝试执行函数(write-to-sting) 时,我得到The function COMMON-LISP-USER::WRITE-TO-STING is undefined.
Apropos 还找到了一个未绑定的函数:
(apropos 'write-to)
WRITE-TO
WRITE-TO-STING
WRITE-TO-STRING (fbound)
我的问题是:这是怎么回事?有谁知道这个功能背后的故事?
【问题讨论】:
标签: common-lisp slime completion