emacs - Emacs 中的 Common Lisp Inferior Lisp 缓冲区

标签 emacs process lisp common-lisp elisp

我想知道为什么 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 the comint-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 questionthis question关于“劣等”进程/程序/shell。

关于emacs - Emacs 中的 Common Lisp Inferior Lisp 缓冲区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50973655/

相关文章:

emacs - 将数字转换为 base-2(二进制)字符串表示形式

compiler-construction - 系统调用如何工作?

lisp - Lisp 中的 "*** - EVAL: undefined function X"

lisp - Common Lisp 中的 Uninterned 符号

macros - let* 和 set 的区别?在普通 Lisp 中

emacs - 如何保存我在 LispBox/Slime 中输入的所有函数?

javascript - Emacs 在缓冲区中打印 javascript 对象属性或对象轮廓

Java - 如何检查另一个(非 Java)进程是否正在 Linux 上运行

Python 另一个应用程序启动

emacs - 键入普通文本时具有自动完成功能的文本编辑器