4

我正在尝试使用 emacs + geiser 安装方案,然后使用 geiser:

Starting Geiser REPL for chicken ... process-lines: ~/lisp/chicken/bin/csi exited with status 70

所以我记得我忘了配置这里请求的内容(https://wiki.call-cc.org/emacs):

  1. 安装必要的支撑蛋。

$ chicken-install -s apropos chicken-doc

  1. 更新 Chicken 文档数据库。

$ cd `csi -p '(鸡家)'`

$ curl http://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | 须藤焦油zx

但是在执行时:

cd `csi -p '(鸡家)'`

什么都没有发生,所以检查一下我得到了什么:

./csi -p '(鸡家)'

我收到以下信息:

something@something:~/lisp/chicken/bin$ ./csi -p '(chicken-home)'

Error: unbound variable: chicken-home

    Call history:

    <syntax>      (##core#begin (##core#require library scheme#) (##core#require library chicken.base#) (##core#requir...
    <syntax>      (##core#require library scheme#)
    <syntax>      (##sys#load-library (##core#quote library))
    <syntax>      (##core#quote library)
    <syntax>      (##core#require library chicken.base#)
    <syntax>      (##sys#load-library (##core#quote library))
    <syntax>      (##core#quote library)
    <syntax>      (##core#begin (##core#require expand chicken.syntax#))
    <syntax>      (##core#require expand chicken.syntax#)
    <syntax>      (##sys#load-library (##core#quote expand))
    <syntax>      (##core#quote expand)
    <eval>    (##sys#load-library (##core#quote library))
    <eval>    (##sys#load-library (##core#quote library))
    <eval>    (##sys#load-library (##core#quote expand))
    <syntax>      (chicken-home)
    <eval>    (chicken-home)    <--

注意

Chicken version: CHICKEN 5

OS: LINUX

向上

在第 5 版中,我发现有必要:

(import (chicken platform))

打电话:

(chicken-home)

但是我下载了它:

curl http://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | sudo tar zx

到正确的目录(鸡家):

/home/something/lisp/chicken//share/chicken/

但我收到:

"Starting Geiser REPL for chicken ... process-lines: ~/lisp/chicken/bin/csi exited with status 70"
4

1 回答 1

0

我能够解决问题,首先我使用的是这个文件:

http://download-mirror.savannah.gnu.org/releases/geiser/0.10/geiser-0.10.tar.gz

它坏了,我总是得到:

"csi exited with status 70"

所以我下载了git版本:

git clone git://git.sv.gnu.org/geiser.git

所以我尝试启动geise:

M-x run-geiser RET chicken RET

我得到了错误:

"car: Symbol’s function definition is void: seq-filter"

然后文件“geiser/elisp/geiser-chicken.el”中发生了一些事情,他们忘记添加该行:

(require 'seq)

现在它正在工作。

!重要提示:在 emacs <= 版本 24 中,“seq-filter”甚至不存在。我不知道添加“seq-filter”的确切版本,从我在Emacs文档中看到的,没有按版本记录,至少我没有找到它,所以我不是很清楚,但是经过测试在 Emacs 24 中没有这样的库。

于 2019-01-16T14:50:23.907 回答