This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # beginners (73)
- # boot (20)
- # chestnut (8)
- # cider (36)
- # clara (37)
- # cljs-dev (21)
- # cljs-experience (1)
- # cljsrn (2)
- # clojure (163)
- # clojure-austin (3)
- # clojure-dusseldorf (6)
- # clojure-finland (1)
- # clojure-ireland (4)
- # clojure-italy (45)
- # clojure-russia (9)
- # clojure-spec (47)
- # clojure-uk (20)
- # clojurescript (107)
- # cursive (24)
- # data-science (4)
- # datomic (4)
- # defnpodcast (1)
- # fulcro (1)
- # heroku (3)
- # jobs-discuss (4)
- # juxt (52)
- # lein-figwheel (1)
- # leiningen (4)
- # lumo (37)
- # midje (5)
- # off-topic (16)
- # onyx (15)
- # portkey (11)
- # re-frame (112)
- # reagent (12)
- # rum (1)
- # specter (35)
- # uncomplicate (6)
Check the value of
huh, looks like new in cider 0.15.0, pretty printing is controlled by
cider-repl-pretty-print-width and if that variable is nil then it uses`fill-column`
clojure.pprint/*print-right-margin* is 72. I have tried with both
cider-repl-pretty-print-width 80 and nil. My
fill-column is 80
Sorry, at this point I have only generic debugging suggestions. The kind of stuff you’ve already considered, i.e. can you recall when’s the last time it worked, and has anything in your environment changed since then. That kind of stuff.
Hehe no problem. I can't really recall when it stopped working, but it stopped without me updating cider, and persisted even after updating yesterday.
does it work in a repl that is NOT running in a lein project? what if you move aside your .lein/profiles.clj?
After updating cider,
cider-switch-to-repl-buffer no longer takes cljs/clj into account. It used to switch to a cljs-repl when in clojurescript-mode and a clj-repl when in clojure-mode. Is this a known bug? Or intended?
Yeah, same thing happens with multiple clojure projects with their own repl. It used to switch to the correct repl for that project, but now only switches to the last used one.
From what I can tell, there is no mention of a relevant repl any more in the cider code. Was this feature just removed, or is there some replacement I'm not finding?
C-x C-e and
C-c C-k obviously are able to find the correct repl to send the code to - so how do I use that information to visit the correct repl?
i've run into the same issues as you. i haven't opened an issue or tried to fix it due to time issues
I have several clojure projects running at once, and some of them with clojurescript repls running as well - so this is really hampering my style.
this seems like a fine strategy as a last resort but it seems to be too high up the chain on the repl resolution path for me
guess I'll just have to find an old version of cider and stick with that one for a while
yes, I just installed 14. It works like it should. 🙂 Now I have to find the correct version of clj-refactor to go with it.
I really hope that this is just a regression, and that the relevant switching is coming back.
The docs still say
> To switch to the relevant REPL buffer based on the Clojure namespace in the current Clojure buffer, use:
This should only pick default to the most recent in ambiguous cases, tho, and still pick correctly from clj vs cljs repls for instance.
it also is not good at even recognizing that i'm coming from a cljs buffer and will try to load it in the clj repl
I've also noticed this issue. For now, I'm using (way too often)
cider-assoc-buffer-with-connection. However, for some reason, even this function sometimes fail to recognize any active cider connection (although I have e.g. 3 cider repls running)
I am using two Emacs frames (on two different monitors), and when
cider-doc opens up a new buffer, it appears in the same position as last time, but that might be in the other frame (the one I'm not currently in) and it annoys me. Does anyone know how I can force the buffer to appear in the current frame?