This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-21
Channels
- # beginners (55)
- # cider (13)
- # cljdoc (4)
- # cljsjs (1)
- # clojure (11)
- # clojure-spec (7)
- # clojure-uk (9)
- # clojurescript (42)
- # docs (5)
- # figwheel-main (9)
- # fulcro (4)
- # graphql (4)
- # hoplon (27)
- # keechma (32)
- # leiningen (11)
- # luminus (2)
- # nyc (2)
- # off-topic (73)
- # parinfer (1)
- # re-frame (36)
- # reagent (2)
- # reitit (6)
- # ring-swagger (3)
- # shadow-cljs (51)
- # spacemacs (4)
- # tools-deps (17)
- # uncomplicate (1)
Hi,
I encountering a problem with cider-eval-last-sexp-and-replace
.
I am using :
cider 0.18.0snapshot
GNU Emacs 26.1
Spacemacs Release 0.200.13.x
and when I cider-eval-last-sexp-and-replace
the sexp is executed twice (the sexp has some side effects which are amqp operations using langohr
concerning with connecting to a local rabbitmq docker instance).
Is it a bug with cider (If it is, then I assume it must have been issued by now but could not find anything on its github) or it may be due to some configuration problem ?
Thanks
@ghopper Likely a regression from some recent changes. Please, file a ticket for this.
Will do :thumbsup: Thanks
@ho0man First time I hear of such problem. You can check exactly what’s being evaluated in the *nrepl-messages ...*
buffer (provided you’ve enabled it). Feel free to file a ticket for this.
If I recall eval-and-replace
does the same eval as everything else. Don’t have time to check this now, though.
just tried lein nrepl
and connected from latest Cider which complains:
WARNING: CIDER's version (0.18.0-snapshot) does not match cider-nrepl's version (nil). Things will break!
More information.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.4.0-SNAPSHOT (package: 20180708.57) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
The other problem is when I stop nrepl from terminal (cygwin) with ctrl-c, nrepl exits to terminal but java process is left. This is not happen with lein repl
another issue I have, when connecting with cider-connect-clj
there is no default localhost
. localhost
was available in the past
another issue: when I create new clj file (beeing connected to nrepl 0.2.12) sometimes I get namespace not found
message. c-c c-k
works fine, but c-x e
not. I have to close file and load again to get things working. I can't find conditions to reproduce this, but I get this bug quite often.