Fork me on GitHub

Is there an emacs mode connected with CIDER or REPL mode that shows a ‘¢’ in the mode line?


There’s nothing that I know of.


FWIW, just upgraded all emacs packages including CIDER, and I’m seeing this:

java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
	at io.netty.util.internal.ReflectionUtil.trySetAccessible( ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at io.netty.util.internal.PlatformDependent0$ ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at java.base/ ~[na:na]
	at io.netty.util.internal.PlatformDependent0.<clinit>( ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at io.netty.util.internal.PlatformDependent.isAndroid( ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at io.netty.util.internal.PlatformDependent.<clinit>( ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at io.netty.buffer.UnpooledByteBufAllocator.<clinit>( ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at io.netty.buffer.ByteBufUtil.<clinit>( ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at io.netty.buffer.ByteBufAllocator.<clinit>( ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
	at java.base/java.lang.Class.forName0(Native Method) ~[na:na]
	at java.base/java.lang.Class.forName( ~[na:na]
	at clojure.lang.RT.classForName( ~[clojure-1.10.1.jar:na]
	at clojure.lang.RT.classForName( ~[clojure-1.10.1.jar:na]
	at$maybe_class_from_string.invokeStatic(utils.clj:85) ~[na:na]
	At$maybe_class_from_string.invoke(utils.clj:78) ~[na:na]


CIDER 0.25.0snapshot (package: <tel:202003081030|20200308.1030>), nREPL 0.7.0-beta1 Clojure 1.10.1, Java 13.0.1


Seems like some issue with refactor-nrepl and Java 13. All is working fine without refactor-nrepl, right?


Looking at the trace I’m guessing we’ll need to update the bundled tools.analyzer.


That’s what I figured as well. You want me to file an issue against refactor-nrepl? (Or add this to some existing issue?)


I know that expez is now on jdk 13, so maybe he’ll finally be motivated to fix some of this stuff…


@slipset Yeah, please file a ticket and we’ll look more into this.


What CIDER function are people using to browse clojure spec definitions? I am asking as there are no Spacemacs keybindings for this as yet. The documentation shows cider-browse-spec if you know which spec you want and cider-browse-spec-all to browse all the specs in the project and filter the list of specs with a regex. Does this cover everyones use-cases? I am looking through and it seems the there are several interactive functions, just wondering if calling any of these functions directly are useful, as well as the above two functions: • cider-browse-spec--print-curr-spec-example - shows an example of the current spec, looks interesting • cider-browse-spec--example-revert-buffer-function although this just seems to call the above function • cider-browse-spec-regex - assuming this is just called via cider-browse-spec-all I haven't used Clojure spec that much yet, but will be doing soon, so just wondering what everyone else uses. Thank you.


Hello! Is there a way to pass cljfmt :indents option to cider nrepl?


Not sure if we exposed it in CIDER via some config or not.


Seems we didn’t but that shouldn’t be a hard change.


Thanks, i’ll dig more into that and open an issue (or maybe PR) about it


What is the best way to cider-jack-in into a codebase inside a VM? I guess there isn't really a proper way? Or can it inject its dependencies when connecting to an already-running nrepl?


You could perhaps configure it to run "ssh 192... clj" instead of "clj"


Hmm yes, that could be an option


I couldn't figure out how to do it automatically but I just use an alias in my deps.edn and start it in a docker container


The problem with that approach is that those dependencies are going to be outdated inevitably, then ruin your day


just never upgrade anything troll