This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-03
Channels
- # announcements (11)
- # aws (1)
- # beginners (57)
- # calva (14)
- # cider (22)
- # clara (23)
- # cljdoc (21)
- # cljs-dev (14)
- # clojure (76)
- # clojure-austin (3)
- # clojure-europe (32)
- # clojure-finland (1)
- # clojure-gamedev (5)
- # clojure-italy (3)
- # clojure-nl (17)
- # clojure-poland (4)
- # clojure-spec (23)
- # clojure-uk (29)
- # clojurescript (72)
- # cursive (6)
- # data-science (4)
- # datomic (2)
- # dirac (10)
- # duct (3)
- # emacs (1)
- # figwheel-main (10)
- # fulcro (86)
- # jackdaw (5)
- # juxt (2)
- # kaocha (2)
- # leiningen (16)
- # off-topic (47)
- # pathom (46)
- # protorepl (2)
- # reagent (4)
- # reitit (14)
- # ring-swagger (5)
- # shadow-cljs (43)
- # spacemacs (13)
- # sql (13)
- # tools-deps (6)
Weird behavior that I've been seeing for a while and it continues: if I'm connected to multiple projects, and then I disconnect from one, the buffers that are still connected to other project lose cider-mode
. I have to re-enable it in every buffer manually. Does anyone know a remedy?
I thought this was an isolated thing on my end too!
Dug a little into this by putting a trace on the cider-mode
function: this seems to originate from the call to (delete-process)
inside (cider--close-connection)
, which somehow disables cider-mode for all buffers. Not sure why/how that would happen though.
Found the culprit: cider-disable-on-existing-clojure-buffers
and cider-enable-on-existing-clojure-buffers
which are run during the repl's connected and disconnect handlers
commenting those function calls out solves the issue, I wonder why they were there in the first place?
That definitely sounds like a bug to me. Probably some hook triggers disabling cider-mode in all Clojure buffers.
Hi - I’m having some trouble with cider-connect. My workflow is that I start my app from the command line, using lein-ring, by invoking lein ring server-headless
, then use cider-connect to connect to the process. This worked in the past, but now when I run cider-connect, I get the error message
15:40:42.549 ERROR: Unhandled REPL handler exception processing message {:op describe, :session c5b63de3-8573-422a-9fc0-6c4ad08923fe, :id 3} {}
java.lang.ClassCastException: clojure.lang.Var cannot be cast to java.lang.String
along with a stacktrace. any hints on how I can go about debugging what’s wrong?Anyone use speedbar? I add symbols to a clojure file and they are not showing up in the speedbar, even when I re-eval the file.
Hello! Is there something to do to enable pprint in a cljs repl?
Hmmm.. I must have messed up something 😕
brb, I'll restart emacs just to be sure
Still printing everything on one line :thinking_face:
@frozenlock just a note that I haven't seen pretty printing working in shadow-cljs
I'm in figwheel-main
So maybe it's cljs related
I thought this was an isolated thing on my end too!
Dug a little into this by putting a trace on the cider-mode
function: this seems to originate from the call to (delete-process)
inside (cider--close-connection)
, which somehow disables cider-mode for all buffers. Not sure why/how that would happen though.