cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
robert-stuttaford 2020-08-13T07:45:40.017500Z

newest cider requires paredit-24, but emacs comes bundled with paredit-22. can anyone point me to a snippet that'll force the correct version of paredit to be installed from melpa, please?

robert-stuttaford 2020-08-13T10:01:22.018Z

root cause: i had the wrong melpa domain in my package list :face_palm: .

borkdude 2020-08-13T12:14:33.018600Z

I'm working on files mounted via a network share while connected to a REPL on the remote machine

borkdude 2020-08-13T12:15:13.019200Z

I was hoping that cider-find-var would work, since the paths stored as metadata on the vars are relative

borkdude 2020-08-13T12:17:04.019600Z

I guess I'll have to write some elisp myself unless someone has an idea here

borkdude 2020-08-13T12:18:24.020Z

Maybe cider could support some base-path setting which accounts for the difference in mount point

borkdude 2020-08-13T12:43:20.020600Z

I've made a horrible horrible hack and made a directory in linux named /Users/borkdude/mnt/dre/DocSearch/app so I have exactly the same paths on linux and macOS

😆 1
borkdude 2020-08-13T12:43:47.020900Z

And now it works 😂

dpsutton 2020-08-13T13:26:09.021700Z

Borkdude check out “cider-path-translations”

dpsutton 2020-08-13T13:26:19.022100Z

I use it for docker but it might work here

borkdude 2020-08-13T13:27:13.022400Z

wow... interesting... !

kardan 2020-08-13T13:28:01.022800Z

We got some elisp, if that does not work

dpsutton 2020-08-13T13:28:49.024200Z

@kardan that was my exact motivation. It might work for you

kardan 2020-08-13T13:29:18.024700Z

(as in if it’s not available in the version). Using the cider-path-translation sound like the goto path

👍 1
kardan 2020-08-13T13:29:19.024900Z

🙂

borkdude 2020-08-13T13:41:09.025700Z

How do I clear settings that were in dir-locals? I got it wrong the first time and now it seems they are cached somewhere?

borkdude 2020-08-13T13:42:53.026200Z

never mind, restarting worked. this is AWESOME!

2
kardan 2020-08-13T13:43:10.026600Z

With a lot of disclaimers I think you can close buffers that lives in that path and then reopen

vemv 2020-08-13T17:35:52.028400Z

Does CIDER make use of javadoc-only dependencies in the form of [<http://some.third.party/dep|some.third.party/dep> "1.10.1" :classifier "javadocs"]? My impression (from skimming the .el code) is that not. Which wouldn't be much surprising, as parsing javadocs' .html sounds like a pain :)

dominicm 2020-08-13T19:52:53.028500Z

It does.

dominicm 2020-08-13T19:53:02.028600Z

Just isn't anything to do with .el. It's in orchard.

👀 1
borkdude 2020-08-13T20:09:16.029200Z

Issue with CIDER 0.26 and 0.27.0snapshot and babashka + cider-doc : https://github.com/babashka/babashka.nrepl/issues/26

bozhidar 2020-08-14T19:41:23.032Z

I've cut 0.26.1 that includes the fix for this bug.

borkdude 2020-08-14T19:41:33.032200Z

:thumbsup:

ag 2020-08-13T22:45:58.030500Z

I wanna add a custom cider-debugger command. Has anyone done something like that?

bozhidar 2020-08-16T17:31:51.035100Z

I think you can just check the code for the existing commands. It's relatively straightforward.