This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-09
Channels
- # aws (51)
- # beginners (57)
- # calva (10)
- # chlorine-clover (7)
- # cider (20)
- # clj-kondo (55)
- # clojure (43)
- # clojure-europe (9)
- # clojure-italy (1)
- # clojure-nl (5)
- # clojure-spec (8)
- # clojure-uk (71)
- # clojurescript (33)
- # core-async (22)
- # cursive (20)
- # datomic (3)
- # emacs (8)
- # figwheel-main (8)
- # fulcro (13)
- # garden (2)
- # graalvm (60)
- # graphql (26)
- # jobs (6)
- # joker (6)
- # kaocha (2)
- # lambdaisland (5)
- # malli (36)
- # off-topic (9)
- # portkey (15)
- # re-frame (3)
- # reagent (25)
- # remote-jobs (4)
- # spacemacs (3)
- # sql (111)
- # tree-sitter (29)
- # uncomplicate (3)
- # xtdb (2)
Is there an emacs mode connected with CIDER or REPL mode that shows a ‘¢’ in the mode line?
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(ReflectionUtil.java:31) ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:220) ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
at java.base/java.security.AccessController.doPrivileged(AccessController.java:312) ~[na:na]
at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:214) ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:203) ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:74) ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
at io.netty.buffer.UnpooledByteBufAllocator.<clinit>(UnpooledByteBufAllocator.java:37) ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
at io.netty.buffer.ByteBufUtil.<clinit>(ByteBufUtil.java:70) ~[netty-all-4.0.56.Final.jar:4.0.56.Final]
at io.netty.buffer.ByteBufAllocator.<clinit>(ByteBufAllocator.java:24) ~[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(Class.java:416) ~[na:na]
at clojure.lang.RT.classForName(RT.java:2211) ~[clojure-1.10.1.jar:na]
at clojure.lang.RT.classForName(RT.java:2220) ~[clojure-1.10.1.jar:na]
at refactor_nrepl.inlined_deps.toolsanalyzerjvm.v0v7v3.clojure.tools.analyzer.jvm.utils$maybe_class_from_string.invokeStatic(utils.clj:85) ~[na:na]
At refactor_nrepl.inlined_deps.toolsanalyzerjvm.v0v7v3.clojure.tools.analyzer.jvm.utils$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?
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…
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?
https://docs.cider.mx/cider/usage/misc_features.html#_browsing_the_clojure_spec_registry
I am looking through https://github.com/clojure-emacs/cider/blob/master/cider-browse-spec.el 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.
I see the middleware take an options map https://docs.cider.mx/cider-nrepl/nrepl-api/ops.html#_format_code