2010-11-18 38 views
5

安装Emacs,并试图run-lisp后,我得到运行所逊色口齿不清

Searching for program: No such file or directory, lisp 

于是,一个新的inferior-lisp缓冲打开试图口齿不清再次运行后,但如果我尝试在输入任何内容,我得到:

Output file descriptor of inferior-lisp<1> is closed 

任何想法我应该做什么?

回答

6

您应该设置inferior-lisp-program变量。要小心'因为一些Lisp希望核心在命令行中指定或驻留在当前目录中(尤其是如果你在Windows上)。

如果你是一个新手,只是想熟悉lisp,那么就有一个内置的Elisp解释器。运行M-x ielm即可获取。

1

从这的emacs的信息页面(31.11运行一个外部的Lisp):

要运行的Lisp低劣的过程,类型M-x run-lisp'. This runs the program named口齿不清 '你会通过键入lisp' as a shell command, with both input and output going through an Emacs buffer named口齿不清运行同一程序'。

它看起来像你没有一个程序在你的路径调用“lisp”。