Fork me on GitHub
#cider
<
2019-02-23
>
cichli00:02:39

CIDER then extends that if you have cider-dynamic-indentation set to logical true (then it will use :indent or :style/indent metadata from the Clojure environment if possible)

cichli00:02:59

(followup to the message about indent-sexp above which didn’t send earlier for some reason)

qythium05:02:05

looking at that implementation, there seems to be yet another bug with using (position) to determine context, which can't differentiate between two identical forms in the same macro

chase-lambert13:02:43

whoa. interesting stuff. Yeah these functions are quite a bit beyond me at this point. That programmer is on a whole other level! He garners a lot of respect in the emacs world for his projects.

richiardiandrea16:02:40

So I tried the build.sh script in cider-nrepl to try and install a local version in .m2 ... It does MrAnderson stuff but does not really install, am I missing some step?

dpsutton16:02:33

just do make install

dpsutton16:02:37

no idea what that's there for

dpsutton16:02:37

but it was last touched in 2015 whereas the makefile is quite recently updated

richiardiandrea17:02:11

Ok thank you very much, will try that

vemv17:02:45

How can I change the version of https://github.com/alexander-yakushev/compliment that CIDER uses? I might want to try a fork for a while

richiardiandrea17:02:03

I am doing that exactly :))) it seems like make install should do the right thing in cider-nrepl simple_smile

suskeyhose19:02:59

Hey, I just opened an old project for the first time in a while, and I'm getting an exception on repl startup with CIDER where one of the injected middlewares (namely pprint) won't compile, which causes the repl to fail to load.

error in process sentinel: Could not start nREPL server: clojure.lang.Compiler$CompilerException: Syntax error compiling var at (cider/nrepl/middleware/pprint.clj:73:3).
#:clojure.error{:phase :compile-syntax-check, :line 73, :column 3, :source "cider/nrepl/middleware/pprint.clj", :symbol var}
Those are the two lines at the top of the stack trace. I figured this would be an easy fix, I'd just disable the pprint middleware, but I can't find the documentation which would tell me how to do this, and the variables I'm inspecting in emacs don't seem to actually give me the list of middlewares used.

suskeyhose20:02:04

I've tried some more recent projects and it's broken there as well.

dpsutton20:02:49

What version of cider and lein do you have?

suskeyhose20:02:42

lein version 2.9.0, cider is 0.18.0snapshot

suskeyhose20:02:04

just using the default cider which is currently in spacemacs develop, and the version of lein in the arch repos

dpsutton20:02:30

Ok. So cider 21 requires lein 2.9.0 and cider 19 and below require lein 2.8.3

dpsutton20:02:56

So you'll need to correct one or the other

suskeyhose20:02:01

Alright, thanks. I'll see about updating cider then.

dpsutton23:02:03

does anyone cider-connect to images running on a docker host? I'm working on a patch to make this a bit easier and wondering what problems you run into. I'm seeing navigation issues because its using the path inside the container rather than the local path. anything else anyone sees?