Mic*_*ler 9 emacs ubuntu clojure nrepl
我在Ubuntu机器上运行.我已经emacs23安装了,但它看起来像是nREPL可以使用的emacs24.所以,我卸载emacs23,安装emacs24.我删除了现有的.emacs文件和.emacs.d目录.
然后我跑M-x package-list-packages,并安装clojure-mode和nrepl.
我创建了一个Clojure项目,lein new foobar然后尝试打开默认core.clj文件.它让我自动进入Clojure模式,但如果我输入M-x nrepl-jack-in(在core.clj缓冲区中),它说Starting nREPL server...,但我从未看到任何命名的缓冲区*nrepl*(基于阅读文档,这是预期的结果).我只是Starting nREPL server...无限期地看到了迷你缓冲区.
现在,一个名为缓冲*nrepl-server* 被创建,它说:
REPL started; server listening on localhost port 5871
Exception Unsupported option(s) supplied: :headless clojure.core/load-libs (core.clj:5266)
clojure.core=>
Run Code Online (Sandbox Code Playgroud)
但它似乎并不是非常有用(我似乎无法让它在那个缓冲区中评估任何东西?!?).
我试着谷歌搜索,但我找不到任何似乎有这个问题的人.我想玩Clojure(core.logic特别是),但这是一个完全不起作用的.:-(