cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
Nassin 2020-10-02T16:38:55.078200Z

((clojure-mode
  (cider-clojure-cli-global-options . "-M:dev:nrepl:nrepl-opts")))

Nassin 2020-10-02T16:39:21.078800Z

That prepends only, how do I replace the entire jack-in cmd ?

dpsutton 2020-10-02T16:40:30.079700Z

if you drop that and just use -A:dev you'll achieve the same thing. CIDER already throws its deps and main options in there correctly (which is what you are trying to accomplish with nrepl and nrepl-opts)

Nassin 2020-10-02T16:41:51.081200Z

it is an example, I want per project specific commands, different nrepl, cider-nrepl versions etc...

dpsutton 2020-10-02T16:44:12.081400Z

alternatively, just start it from the command line like that and then cider-connect.

dpsutton 2020-10-02T16:45:10.082Z

is probably the easiest. it looks like if you call (cider-jack-in (list :edit-jack-in-command "whatever you want"))

dpsutton 2020-10-02T16:45:34.082500Z

but would probably need a patch to have a wholesale dropin of the jack in command from dir-locals

dpsutton 2020-10-02T16:45:50.082900Z

shouldn't be too hard. but at that point i don't see any real benefit over just cider-connect

dpsutton 2020-10-02T16:46:15.083400Z

and personally would want the process outside of emacs. but i can see some people wanting it as an emacs subprocess i guess

Nassin 2020-10-02T16:47:44.084400Z

yep, using cider-connect currently, wanted to 'slim' more the project setup but no biggie, thanks

dpsutton 2020-10-02T16:50:48.085500Z

yeah. especially if you have multiple versions there's no good way to select from multiple different fully formed startup commands. One thing to note is that if you jack-in with a prefix arg you can edit the entire jack in string to whatever you want. useful for "one off" type of jack ins, adding profiles willy-nilly, etc

👍 1
practicalli-john 2020-10-02T17:20:26.087800Z

@kaxaw75836 The following has an example .dir-locals.el that will switch off all the auto-injection that cider-jack-in command does, leaving the clojure command and aliases to run http://practicalli.github.io/clojure/clojure-tools/data-browsers/rebl-data-visualization.html#run-rebl-for-nrepl-based-editors

👍 1
zane 2020-10-02T21:21:37.088500Z

Is *cider-test-report* supposed to show which test in a clojure.test/are form failed?