sebastiw / edts

Erlang Development Tool Suite
GNU Lesser General Public License v3.0
354 stars 82 forks source link

edts-man-setup fail #212

Closed 0x42 closed 4 years ago

0x42 commented 8 years ago

EDTS [info]: Fetching available releases from http://www.erlang.org/download... Contacting host: www.erlang.org:80 Wrong type argument: stringp, nil

getong commented 8 years ago

me too.Any ideas?

getong commented 8 years ago

I install the edts-man-setup manually.

wget -c http://erlang.org/download/otp_doc_man_18.3.tar.gz
mkdir ~/.emacs.d/edts/doc/18.3
tar xzf otp_doc_man_18.3.tar.gz -C  ~/.emacs.d/edts/doc/18.3

add below to the init file
(setq erlang-root-dir "~/.emacs.d/edts/doc/18.3")

This works for me.

jvdvleuten commented 8 years ago

I am having the same problem, and if I do the steps from @getong it still says: edts-man not configured

Should be: (setq erlang-man-root "~/.emacs.d/edts/doc/18.3")

lattenwald commented 8 years ago

So, I created a pull request #221 which fixes the problem for me. Regexp didn't capture right URLs, that's all.

finalclass commented 7 years ago

ATM man dir variable is called edts-man-root

(setq edts-man-root "~/.emacs.d/edts/doc/19.3")

https://github.com/tjarvstrand/edts/blob/a3e4eeb5b340186f727bd06aa3d4d3fcacc16292/elisp/edts/edts-man.el#L31

and unfortunately on emacs 25 edts-man-setup is still broken.