This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-18
Channels
- # atom-editor (5)
- # babashka (15)
- # beginners (80)
- # calva (11)
- # cestmeetup (6)
- # chlorine-clover (15)
- # cider (22)
- # circleci (3)
- # clojure (57)
- # clojure-europe (19)
- # clojure-italy (1)
- # clojure-nl (4)
- # clojure-spec (1)
- # clojure-switzerland (1)
- # clojure-uk (88)
- # clojurescript (92)
- # code-reviews (1)
- # cursive (6)
- # data-science (5)
- # datascript (6)
- # datomic (12)
- # events (7)
- # figwheel-main (2)
- # fulcro (55)
- # graalvm (2)
- # helix (6)
- # juxt (6)
- # kaocha (11)
- # luminus (2)
- # off-topic (82)
- # pathom (27)
- # portal (1)
- # re-frame (3)
- # reitit (25)
- # remote-jobs (8)
- # sci (11)
- # shadow-cljs (29)
- # slack-help (2)
- # spacemacs (9)
- # specter (4)
- # sql (9)
- # tree-sitter (1)
- # uncomplicate (1)
- # xtdb (26)
hey cider people, I'm seeing a completion error which is eventually debilitating - not 100% certain it's a cider thing, but I'm trying to narrow it down.
Lisp error: (error "Lisp nesting exceeds 'max-lisp-eval-depth'")
There's a trace here: https://gist.github.com/j0ni/53f215608190a3a8ae05dbc9af62a558 - it's doom emacs so I have a doom/info
dump there as wellthe trace is a lot longer, because, well the error kind of explains - it's a recursive call which is causing it, so there's a lot of repetition
The trace contains no traces [sic] of cider as far as I can see. It looks like a combination of yasnippet and company that breaks. Maybe one of your YA snippets contains something that makes company kick in again or so? Just wildly and blindly shooting in the dark here.
hmm, got no snippets and I removed the yasnippets module (a doom thing) - I did a bit more digging, and noticed that after about 30 seconds of not touching anything completion actually happens
and tells me it is cider-repl-tab, which seems to resolve all the way to the correct default command... and yet
so I'm guessing that this is a defadvice somewhere and I will continue to figure it out
doom is an education, but I actually like it quite a lot. it has forced me to relearn my vi fu, but is sufficiently different to be a weird freak, but then, so am I, so ¯\(ツ)/¯
ah so not yasnippets - that's just in a cond, and it's not the clause which is executing
I am trying to understand the purpose of the cider-restart
command as it only restarts the connection to the REPL. Is it there solely to manage any issues Emacs has connecting to the external REPL process? I cant seem to find any other use for it.
sesman-restart
does a REPL restart and connects to the new REPL.
cider-restart
does not seem to clear the code evaluated in the REPL (cider-ns-refresh / reload that provides that functionality anyway).
Just wondering if I was missing something. Thank you.
I’m using shadow-cljs for a ClojureScript project. I use shadow-cljs watch client
, and I can use cider-connect-cljs
to connect to the ClojureScript REPL — all good.
Is there a way to also connect to the Clojure REPL that must also exist? (Something is doing macroexpansion.)
I’ve tried the following:
cider-connect-clj
gives me “nrepl--direct-connect: [nREPL] Direct connection to localhost:nnnnn failed”.
cider-connect-sibling-clj
gives me “No clj REPLs in current session”. (I’m not really sure what a sibling is, FWIW, so no real idea whether that should do anything close to what I want.)
In the shadow-cljs log you should have a line like this
shadow-cljs - nREPL server started on port 8777
in the top level shadow-cljs.edn
:nrepl {:port 8777
:middleware [refactor-nrepl.middleware/wrap-refactor]}