brave-clojure-web icon indicating copy to clipboard operation
brave-clojure-web copied to clipboard

Using Emacs with Clojure problems

Open sale87 opened this issue 9 years ago • 2 comments

Hello,

there are some problems with Using Emacs with Clojure chapter. Not sure where to report so if I'm wrong feel free to tell what is the right place for this issue.

Lein version:

Leiningen 2.5.0 on Java 1.8.0_40 Java HotSpot(TM) 64-Bit Server VM

I installed fresh Emacs 24.4 from here, moved my old emacs.d, and cloned one you provided. After doing M-x package-install and search for cider, cider-decompile is the first option. In order to install cider I used M-x package-list-packages, searched for cider and installed it.

After opening clojure-noob/src/clojure_noob/core.clj and running M-x cider-jack-in I get following error (copied from Messages):

Starting nREPL server via lein repl :headless...
You can run the command `cider-jack-in' with C-c M-j
Starting nREPL server via lein repl :headless...
nREPL server started on 51924
nREPL: Establishing direct connection to localhost:51924 ...
nREPL: Direct connection established
error in process filter: cider-repl-mode: Symbol's function definition is void: clojure-mode-variables
error in process filter: Symbol's function definition is void: clojure-mode-variables

There is no split window with repl, but I can see repl running in the buffer list.

So just a heads up that this is not working, and someone following tutorial might get stuck.

If I can help anyhow with this issue, feel free to contact me.

Cheers

sale87 avatar Mar 08 '15 18:03 sale87

Thanks for letting me know! Were you ever able to figure out the issue?

flyingmachine avatar Apr 21 '15 12:04 flyingmachine

No, I tried for some time and went on to Cursive.

If there is any way to help feel free to ping me.

Cheers

sale87 avatar Apr 22 '15 11:04 sale87