Fork me on GitHub
#cider
<
2021-01-20
>
Nassin22:01:09

Curious, why doesn't WARNING: When invoking clojure.main, use -M show up in the *Messages* buffer when doing cider-jack-in?

dpsutton22:01:51

it probably shows up in the nrepl buffer. output from the process doesn't really go in messages

dpsutton23:01:18

we need to migrate CIDER to use the -M version and let people upgrade

dpsutton23:01:23

-M -m i mean

dpsutton23:01:37

there's a ticket i need to do with aliases and mains as well. probably do both PRs at the same time

Nassin23:01:45

Cool, guess it harmless for now

dpsutton23:01:01

yeah. its just a warning

dpsutton23:01:45

and not a warning about the program is in an unknown state but just its changing and won't support it in the future but its fine for now

dpsutton23:01:58

yeah that's the one. you interested in working on it?

dpsutton23:01:11

i think it won't be bad at all. just a bit of string editing

dpsutton23:01:43

i'm happy to help with questions. and in fact i think its so simple that i could do it independently so i make sure to think of all the possible pitfalls and help you through you landing the PR if you like

dpsutton23:01:49

more contributors = better CIDER

Nassin23:01:36

I could take a look, my emacs foo is very limited at this stage but I'll take you on the 'help with questions' 😉

dpsutton23:01:34

totally. feel free to ping me here. there's also a discord server that you could join. its kinda more geared towards dev stuff so this would be perfect for you to ask questions there too

Nassin23:01:36

There needs to be some clojure cli tool version detection I guess? to not break old versions

Nassin23:01:41

like -M -m won't work with older versions

dpsutton23:01:42

there's no good way to do it. you'd have to grep the version out of a bunch of stuff. i imagine we just go towards the most current behavior and ask people update

dpsutton23:01:25

yeah. but that's kinda inevitable. CIDER can't work with lein 2.7.3. you're kinda expected to upgrade. And the clojure cli tools are developed by Alex so changes are thoughtful and no backwards breaking changing (in theory. there have been some but Alex is awesome and thoughtful and this isn't a big problem at all)