我想知道为什么 Emacs 中的 Common Lisp 缓冲区被称为“Inferior Lisp”?也就是说,不如什么?这是什么原因?
此外,缓冲区基本上是一个运行 Lisp 实现的 shell,与在终端中运行它的方式非常相似,这样理解是否正确?
最后,像 SLIME 和 Slynk 这样的东西如何与它联系起来?
最佳答案
如果您指的是缓冲区 *inferior-lisp
,它是由命令 inferior-lisp
创建的,那么其含义来源于它是一个“劣”工艺。
C-h f inferior-lisp
告诉你:
Run an inferior Lisp process, input and output via buffer
*inferior-lisp*
.If there is a process already running in
*inferior-lisp*
, just switch to that buffer.With argument, allows you to edit the command line (default is value of ‘inferior-lisp-program’). Runs the hooks from
inferior-lisp-mode-hook
(after thecomint-mode-hook
is run).(Type
?
in the process buffer for a list of commands.)
C-h v inferior-lisp-program
告诉你:
Program name for invoking an inferior Lisp in Inferior Lisp mode.
You can customize this variable.
参见 Emacs 手册,节点 External Lisp (节点标题是Running an External Lisp)以获取有关运行外部 Lisp session 的信息。例如,它会告诉您:
You can run an external Lisp session as a subprocess or “inferior process” of Emacs, and pass expressions to it to be evaluated.
子进程或“下级”进程从 Emacs 进程( session )运行。
另见 this question和 this question关于“劣等”进程/程序/shell。
关于emacs - Emacs 中的 Common Lisp Inferior Lisp 缓冲区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50973655/