overtone / emacs-live

M-x start-hacking
http://overtone.github.com/emacs-live/
Other
1.51k stars 240 forks source link

Cider REPL opens to clojure.core namespace #169

Open danielcompton opened 9 years ago

danielcompton commented 9 years ago

When I start a REPL in --live-safe-mode I'm put into the clojure.core namespace with none of the clojure.repl goodies loaded. This happens on all my Clojure projects. Is this happening for others?

I'm running ; CIDER 0.7.0 (Java 1.7.0_67, Clojure 1.6.0, nREPL 0.2.3, cider-nrepl 0.7.0) with cider-version 1.0beta25.

nickzam commented 9 years ago

Running M-x cider in emacs-live after fresh install shows error and opens clojure.core namespace:

; CIDER 0.7.0 (Java 1.7.0_45, Clojure 1.6.0, nREPL 0.2.6, cider-nrepl 0.7.0)
WARNING: The following required nREPL ops are not supported: 
classpath complete info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand macroexpand-1 macroexpand-all resource stacktrace toggle-trace
Please, install (or update) cider-nrepl 0.7.0 and restart CIDER
clojure.core> 

My ~/.lein/profiles.clj has :plugins [[cider/cider-nrepl "0.7.0"]]

nickzam commented 9 years ago

Just checked out what happens if I checkout cider 0.6.0, commit # 3a4353c3e4a481949b9c035c0447480f162b2e5a . It just works.

duelinmarkers commented 9 years ago

Just upgraded after a long time and seeing the REPL-in-clojure.core issue w/

; CIDER 0.7.0 (Java 1.7.0_51, Clojure 1.5.1, nREPL 0.2.3.1, cider-nrepl 0.7.0)

and emacs-live 5511a45 (BETA25 + ffip-via-submodule). I do not get any ops are not supported warning.

nREPL 0.2.3.1 is a fork of 0.2.3 with reflection eliminated. Upgrading that would be one obvious thing to try. Will update when I get to that.

nickzam commented 9 years ago

@duelinmarkers , made project.clj use nrepl 0.2.3.1 and switched emacs-live to 5511a45 . Same error message "WARNING: The following required nREPL ops are not supported: " and same clojure.core namespace. Am I missing something?

duelinmarkers commented 9 years ago

@nickzam nrepl 0.2.3.1 is not publicly available. Did you mean 0.2.3? Do you have cider-nrepl 0.7.0?