在安装emacs并尝试run-lisp之后,我得到
Searching for program: No such file or directory, lisp然后,在尝试再次运行lisp之后,将打开一个新的inferior-lisp缓冲区,但如果我尝试在其中输入任何内容,则会得到:
Output file descriptor of inferior-lisp<1> is closed你知道我该怎么做吗?
发布于 2010-11-18 20:33:37
您应该设置inferior-lisp-program变量。要小心,因为有些Lisp希望内核在命令行中指定,或者驻留在当前目录中(尤其是在Windows上)。
如果你是一个新手,只是想熟悉一下lisp,有一个内置的Elisp解释器。运行M-x ielm获取它。
发布于 2010-11-18 18:18:45
从emacs上的信息页面(31.11运行外部Lisp):
要运行较低级别的Lisp进程,请输入M-x run-lisp'. This runs the program namedlisp',这与您输入lisp' as a shell command, with both input and output going through an Emacs buffer namedlisp‘所运行的程序相同。
看起来您路径中没有名为"lisp“程序。
https://stackoverflow.com/questions/4213075
复制相似问题