Fork me on GitHub
#beginners
<
2019-09-08
>
kosengan02:09:58

👋👋Beginner here! Help required with emacs setup for 'Brave Clojure'. I'm currently stuck at installing cider. Posted the details about my problem here: https://superuser.com/questions/1480146/not-able-to-install-cider-in-emacs Please help 🙂

seancorfield03:09:00

@thegobinath You might try asking in #cider ... I haven't used Emacs/CIDER for years now so I can't be much help I'm afraid.

seancorfield03:09:40

@thegobinath Just checking... You said you followed the instructions up to Step 5... This is step 5 -- did it seem to work successfully?

5. In Emacs, run M-x package-refresh contents.

kosengan03:09:42

yes. I did.. I don't even see cider in list-packages

seancorfield03:09:03

What editor do you normally use @thegobinath? Maybe it would be easier to get up and running with whatever is the appropriate Clojure plugins for that instead of learning Emacs?

kosengan15:09:02

Now I ended up using nightcode just for Clojure

kosengan15:09:16

Will go with Emacs may be in future

alpox17:09:33

I recently switched to Calva. So far it has been great and without much effort

seancorfield18:09:37

My advice is to stick with the editor you already use if it has a Clojure integration you can add. VS Code -- use Calva, Atom -- use Chlorine, IntelliJ -- use Cursive, etc.

seancorfield03:09:09

Thanks @zbir -- I tend to forget there's an #emacs channel as well as a #cider channel!

RichardForrester15:09:45

Are there any development tools that integrate spec with an IDE approaching the traditional linting/compiling space?

seancorfield17:09:57

@forrester.rich I'm not sure how that would work given that Spec is entirely runtime? Can you expand on what sort of features you're thinking of?

RichardForrester20:09:14

Just want to know of there are any good dev tools out using spec, there seems to have been a lot of speculation around the issue, but I don’t see anything coming out of it.

seancorfield21:09:24

Yeah, I read that when it appeared. Again, I've no idea what those people think "dev tools using spec" would even look like. Some of the comments there don't really make sense to me.

seancorfield21:09:20

We've been very heavy users of Spec since day one, back in the early 1.9 cycle, so it's not like I'm unfamiliar with spec's usage... that's why I'm asking if you're thinking of specific features when you talk about IDE integration and/or linting tools? Neither of those seem related to Spec's design to me.

borkdude21:09:47

fwiw, I'm planning to do some work on this feature some day, but it's going to be fairly limited since it's all static: https://github.com/borkdude/clj-kondo/issues/23

borkdude21:09:24

spectrum may also be something to look at which probably goes much further: https://github.com/arohner/spectrum

borkdude21:09:18

you could look into https://github.com/bhb/expound for getting nicer error messages out of spec while developing

RichardForrester17:09:45

Spectrum looks interesting

seancorfield17:09:57

@forrester.rich I'm not sure how that would work given that Spec is entirely runtime? Can you expand on what sort of features you're thinking of?