我clojure
使用创建了一个项目lein new
,开始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
,顺便说一句...
你可以帮帮我吗?