运行劣质口齿不清

发布于 2024-10-02 17:35:22 字数 318 浏览 0 评论 0原文

安装 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

压抑⊿情绪 2024-10-09 17:35:22

您应该设置 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.

§对你不离不弃 2024-10-09 17:35:22

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

要运行较差的 Lisp 进程,请输入 Mx run-lisp'。这将运行
名为
lisp' 的程序,与输入 lisp' 运行的程序相同
作为 shell 命令,输入和输出都通过 Emacs
名为
lisp'的缓冲区。

看起来您的路径中没有名为“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
program named
lisp', the same program you would run by typing lisp'
as a shell command, with both input and output going through an Emacs
buffer named
lisp'.

It look like you do not have an program in your path that is call "lisp".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文