运行劣质口齿不清
安装 emacs 并尝试 run-lisp
后,我得到
Searching for program: No such file or directory, lisp
然后,在再次尝试运行 lisp 后,会打开一个新的 inferior-lisp
缓冲区,但是如果我尝试在中输入任何内容,我得到:
Output file descriptor of inferior-lisp<1> is closed
知道我应该做什么吗?
After installing emacs and attempting to run-lisp
, I get
Searching for program: No such file or directory, lisp
Then, after trying to run lisp again, a new inferior-lisp
buffer opens, but if I try entering anything in, I get:
Output file descriptor of inferior-lisp<1> is closed
Any idea what I should do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该设置
inferior-lisp-program
变量。请小心,因为某些 Lisp 期望核心在命令行中指定或驻留在当前目录中(尤其是在 Windows 上)。如果您是新手并且只想熟悉 lisp,这里有一个内置的 Elisp 解释器。运行 Mx ielm 来获取它。
You should set
inferior-lisp-program
variable. Be careful 'cos some Lisps expect the core to be specified in the command-line or reside in a current directory (especially if you're on Windows).If you're a newbie and just want to get familiar with lisp there is a built-in Elisp interpreter. Run
M-x ielm
to get it.从 emacs 的信息页面(31.11 运行外部 Lisp):
要运行较差的 Lisp 进程,请输入
Mx run-lisp'。这将运行
lisp' 的程序,与输入名为
lisp' 运行的程序相同
lisp'的缓冲区。作为 shell 命令,输入和输出都通过 Emacs
名为
看起来您的路径中没有名为“lisp”的程序。
From the info page on emacs (31.11 Running an External Lisp):
To run an inferior Lisp process, type
M-x run-lisp'. This runs the
lisp', the same program you would run by typingprogram named
lisp'
lisp'.as a shell command, with both input and output going through an Emacs
buffer named
It look like you do not have an program in your path that is call "lisp".