Fork me on GitHub
#cider
<
2019-04-19
>
bozhidar06:04:30

> Hmm… No I didn’t. Correct me if I’m wrong but if I’m cider-connecting to a running nrepl server there shouldn’t be an nrepl-server buffer in play?

bozhidar06:04:42

Yeah, there shouldn’t be such a buffer. But output redirected from the server’s own terminal (whatever it might be) to CIDER’s REPL is still a concern even then.

yuhan09:04:42

I think the latest round of commits to Cider broke something, now cider-doc no longer works on symbol at point

yuhan09:04:25

oh okay, looks like the change to cider-var-info

bozhidar10:04:21

@qythium What’s broken exactly? Those changes shouldn’t change anything in the presence of cider-nrepl.

yuhan10:04:43

I just submitted a PR for it

bozhidar10:04:19

Ops, my bad! Sorry about this!

erwinrooijakkers12:04:09

I want to upgrade cider-nrepl

erwinrooijakkers12:04:28

[nREPL] Starting server via /usr/local/bin/lein update-in :dependencies conj \[nrepl\ \"0.5.0\"\] -- update-in :dependencies conj \[cider/piggieback\ \"0.3.10\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.4.0\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.18.0\"\] -- repl :headless :host localhost...
I need cider-nrepl 0.21.1, but cannot see where to put that Versions in profiles.clj and in ~/.lein/profiles.clj do not change anything.

erwinrooijakkers12:04:51

I remember changing something in cider in the past to use an older version…

erwinrooijakkers12:04:02

But don’t remember what, something with recompiling manually

erwinrooijakkers12:04:24

Maybe just redownload everything

bozhidar12:04:23

What’s your CIDER version?

bozhidar12:04:31

Is it 0.18?

erwinrooijakkers12:04:06

I redownloaded Spacemacs

erwinrooijakkers12:04:11

Now it gives the correct version

erwinrooijakkers12:04:12

New error:

Caused by: java.lang.RuntimeException: Unable to resolve var: refactor-nrepl.middleware/wrap-refactor in this context

bozhidar12:04:26

So, did you sort this out?

erwinrooijakkers12:04:46

Well now it starts with latest version of lein

erwinrooijakkers12:04:49

But then Spacemacs crashes

erwinrooijakkers12:04:34

After cider-jack-in-clj and cider-jack-in-cljs

erwinrooijakkers12:04:47

I now try cider-jack-in-clj&cljs

erwinrooijakkers12:04:20

Yes also freezes Spacemacs

erwinrooijakkers12:04:11

Oh no it does unfreeze

erwinrooijakkers12:04:40

error in process filter: user-error: Figwheel-main is not available.  Please check 
error in process filter: Figwheel-main is not available.  Please check 

erwinrooijakkers12:04:29

:dependencies [[org.clojure/tools.nrepl "0.2.13"]
                 [com.bhauman/figwheel-main "0.2.0"]
                 [com.bhauman/rebel-readline-cljs "0.1.4"]
                 [vvvvalvalval/scope-capture "0.3.2"]
                 [cider/piggieback "0.4.0"]
                 [figwheel-sidecar "0.5.16"]]

dpsutton12:04:08

@benedek i've been reading why the clojure-lsp doesn't let you execute commands. Need to include it on the client. Been reading this example for the java version. https://github.com/emacs-lsp/lsp-java/blob/master/lsp-java.el#L905

bozhidar13:04:41

> [org.clojure/tools.nrepl “0.2.13”]

bozhidar13:04:44

You don’t need this.

bozhidar13:04:15

@erwinrooijakkers What exactly is your CIDER version now?

erwinrooijakkers13:04:34

CIDER 0.22.0snapshot (package: 20190419.1025)

erwinrooijakkers13:04:10

Okay and I removed tools.nrepl

bozhidar13:04:13

Hmm, that’s weird. I wonder why the checks are failing for you.

erwinrooijakkers13:04:26

error in process filter: Figwheel-main is not available.  Please check 

bozhidar13:04:56

Try adding (setq cider-check-cljs-repl-requirements nil) to your requirements.

bozhidar13:04:12

Maybe the new approach I implemented yesterday is not working properly.

erwinrooijakkers13:04:36

It is bit annoying that Spacemacs takes SNAPSHOT version of Cider

erwinrooijakkers13:04:45

Bit me once half a year ago too

erwinrooijakkers13:04:51

But I do discover bugs 😉

erwinrooijakkers13:04:16

Let’s see how it works with the (setq cider-check-cljs-repl-requirements nil)

erwinrooijakkers13:04:44

Ah now I see the same error as after lein fig

timvisher13:04:41

RE https://clojurians.slack.com/archives/C0617A8PQ/p1555655010143700 Cool. I'll try a few iterations of that. Currently I worked around it by just moving the pipe into the program and launching a new process each time.

erwinrooijakkers13:04:55

$ lein -v
Warning: implicit hook found: lein-environ.plugin/hooks
Hooks are deprecated and will be removed in a future version.
Leiningen 2.9.1 on Java 1.8.0_192 Java HotSpot(TM) 64-Bit Server VM

$ clj
Clojure 1.10.0

bozhidar13:04:14

> Warning: implicit hook found: lein-environ.plugin/hooks

bozhidar13:04:21

You have to remove this plugin I guess.

benedek18:04:22

thanks @dpsutton i was looking at this on Thursday too and also jumping into dep jars. latest version of the server can now return a jar url. but it seems that this is not handled properly in the elisp client

benedek18:04:40

this is a real missing piece for me

bozhidar20:04:45

That should be trivial thing to fix.