Fork me on GitHub
#emacs
<
2019-09-08
>
kosengan03:09:57

👋👋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:slightly_smiling_face:

Zac Bir03:09:44

Heya, if it’s a recent emacs, I had to add this to the top of my .emacs:

kosengan03:09:37

where should I put this line?

kosengan03:09:57

I don't even see cider in list-packages

Zac Bir03:09:42

I can’t imagine you’ll need to explicitly add the elpa packages, but if so: (add-to-list 'package-archives '("elpa" . ""))

Zac Bir03:09:19

I put both in my .emacs:

kosengan03:09:29

where should I add the (setq gnutls...) line in .emacs?

Zac Bir03:09:40

I put it right at the top

kosengan03:09:22

on top of everything?

Zac Bir03:09:38

Sure. It’s the first line in my .emacs

kosengan03:09:15

ok. trying it out!

kosengan03:09:16

not working:unamused:

kosengan03:09:33

I refreshed the packages and restarted emacs

kosengan03:09:19

If you don't mind, can we do a little video call, where I can share my screen and we can fix it?

kosengan03:09:34

it will be like 5 minutes

kosengan03:09:16

Please join

Lucas Barbosa12:09:06

That is fixed in Emacs 26.3, isn't it?

Zac Bir15:09:15

Possibly. I’m on 26.2 and needed to do it

Lucas Barbosa18:09:15

I also had that problem. Updated to 26.3 and removed that line from my config file, seems to work!

Zac Bir03:09:35

Otherwise, it can’t find the elpa packages, which contains upstream packages that cider relies on.

Zac Bir03:09:50

Will answer there as well

Zac Bir04:09:40

Seems not to have helped much 😕 Might be due to version (you’re using 25.x, I’m on 26.x). Hopefully someone else might be able to shed some light 😞