-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clj repl is associated with cljs buffer #1511
Comments
What do you call latest - snapshot or 0.10.1? |
snapshot: cider 20160104.1114 |
Those two variables are only relevant in repl buffers (their values make no difference in source files). Could you please check the value of both of those variables in your clojure REPL buffer and in your ClojureScript REPL buffer? |
Of course...but first, steps to reproduce:
values:
Some other observations:
|
Is this still an issue? The related code has changed a bit over the last month, and I can't reproduce this now. |
yes, it's messy. Pls let me know which components I should update. Is it only cider or also the repl plug-ins |
|
updated and gave it a try. I use figwheel now and always start the repl outside of emacs. |
Do you use cider-connect? If so, do you associate that repl buffer with a project directory? |
yes, that's what I use. The clojurescript is started via associating the repl buffers with the project makes no difference. If I have clj and cljs repls and open new cljs file, it's associated with the clj repl by default |
I just pushed a change that might fix this. It should be on Melpa in about an hour. |
I upgraded. Just a reminder — I have switched the workflow to using cider-connect so this is what I am testing. what I see currently is that the cljs repl reports to be clj repl type. Also when I connect fresh, the helm-buffer-list does not show the repl in the project list. I don't know if it's different symptom. once I switch to the fresh repl buffer via ibuffer other-window the project folder is correct maybe I am testing differently from you? can you describe your testing scenario? |
OK. This is something we can focus on. |
that's what I see in the messages
and some details on the plug-ins :profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.0-1"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
:repl {:source-paths ["dev"]
:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]
; [refactor-nrepl "2.2.0-SNAPSHOT"]
]}} |
If there are warnings, they'll be printed in red color on the REPL buffer after you connect. Do you see anything there? (besides the welcome banner) |
this is what I see
Please note that I don't have the refactor plug-in enabled and that I run the cider snapshot version which is now actually the release one |
took time to reinstall emacs from scratch. the problem can't be reproduced with the clean install |
Using latest cider+helm+projectile+pespective
some debug info for the cljs buffer:
The text was updated successfully, but these errors were encountered: