【发布时间】:2015-08-30 15:00:51
【问题描述】:
我使用lein new 创建了一个clojure 项目,启动了GNU Emacs,打开了文件core.clj,当我尝试使用cider-jack-in 插入 时,它就消失了:
Making nrepl-create-client-buffer-function local to *nrepl-server clojure-noob* while let-bound!
Making nrepl-use-this-as-repl-buffer local to *nrepl-server clojure-noob* while let-bound!
Starting nREPL server via lein repl :headless...
nREPL server started on 37124
nREPL: Establishing direct connection to localhost:37124 ...
nREPL: Direct connection established
error in process filter: cider-repl-set-initial-ns: Symbol's value as variable is void: ns
error in process filter: Symbol's value as variable is void: ns
然后(显然)什么也没发生
我的core.clj 文件是:
(ns clojure-noob.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "¡Soy una tetera pequeña y fuerte!"))
如您所见,没有什么花哨或任何东西......(它与lein run一起运行)
我的.lein/profiles.clj 很简单:
{:user {:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]]}}
而我的cider 版本是:
CIDER 0.10.0snapshot (package: 20150830.328)
由M-x cider-version报告
我是Clojure 的新手,顺便说一句...
你能帮帮我吗?
【问题讨论】:
-
您尝试过旧版本的 cider-plugin 吗? 0.10.0-SNAPSHOT 听起来不稳定。我正在使用 0.6.0,因为 0.7 不适合我。您是否尝试过最新的稳定版本?