Fork me on GitHub
#cider
<
2018-08-16
>
stardiviner01:08:42

I just updated CIDER, and got same error:

error in process filter: cider--connected-handler: Symbol’s value as variable is void: middlewar-version
error in process filter: Symbol’s value as variable is void: middlewar-version

fenton03:08:19

(use-package el-get)
(el-get-bundle cider
               :url "" 
               :checkout "12674b3de377d6ae6f67ac155caea12f5de3c743")

fenton03:08:36

that'll get the previous version of cider, current one is broken.

bozhidar06:08:54

Ops, sorry about this! I’ve fixed this.

bozhidar06:08:50

> oh darn I’m getting the slow down in cljc files again

bozhidar06:08:17

@bhauman Are you on the latest clojure-mode? How the profile data looking?

bozhidar06:08:00

There were no changes after adding the project dir cache, so your message is surprising to me.

bhauman12:08:35

@bozhidar oh my god, I meant to tell you that it was a false alarm

bhauman12:08:08

I pictured sending you the message, then promptly forgot. sorry about that

bhauman12:08:53

it was a processor slow down, from a low battery, which in turn made it harder for my computer to perform heavier tasks

bozhidar12:08:31

Roger that! A problem that solves itself - my favourite kind! 😉

vemv13:08:36

wondering if there's some prior art in implementing a "jump to definition" that works with javascript sources (for clojurescript environments obviously)

tanzoniteblack14:08:00

I've historically used http://ternjs.net/doc/manual.html#emacs for this. but I know that https://indium.readthedocs.io/en/latest/ also does similar stuff

tanzoniteblack15:08:07

Both work by having external servers do the heavy lifting. There might be something similar using this new, fancy dancy lsp thing: https://github.com/emacs-lsp/lsp-javascript , but I haven't tried that.

vemv15:08:26

Hmmm, running a(nother) process just for this seems heavy. I was hoping one could derive goog.date/Date to a (.jar + file + line) location, more-or-less statically. CIDER classpath tools might help. clojurescript's strict ns system should also make things relatively easy

bozhidar18:08:53

@ Might have some ideas about this. Not sure what’s the deal with the location metadata there. Maybe @bhauman has some ideas as well.

richiardiandrea19:08:52

I think there could be a new middleware piece that talks with piggieback and provides back info from the JS word. I was thinking about that for providing JS completions.

j0ni15:08:13

This seems like an unhelpful warning given the actual numbers:

WARNING: CIDER 0.18.0-snapshot requires cider-nrepl 0.18.0+, but you're currently using cider-nrepl 0.18.0. Things will break!

bozhidar18:08:04

@j0ni Fixed on master.

j0ni18:08:05

thanks @bozhidar!

richiardiandrea22:08:34

I was wondering where is the clojure-mode code that does the alignment using the :style/indent metadata

richiardiandrea22:08:09

seems like it is in the nrepl but I do not see a command for sending the op code