erln8 / reo

The erln8 rewrite
1 stars 0 forks source link

Make erln8 easy to use from Emacs #3

Open bookshelfdave opened 9 years ago

bookshelfdave commented 9 years ago

This is what's needed to use erln8 from Emacs:

(setq load-path (cons  "/Users/joe/.erln8.d/otps/17.5.6/dist/lib/erlang/lib/tools-2.7.2/emacs"
      load-path))
(setq erlang-root-dir "/Users/joe/.erln8.d/otps/17.5.6/dist")
(setq exec-path (cons "/Users/joe/.erln8.d/otps/17.5.6/dist/bin" exec-path))

Is there a way I can remove some of the hardcoded paths?

joedevivo commented 9 years ago

The idea is that these settings could be pulled from the system default otp version

bookshelfdave commented 9 years ago
joedevivo commented 9 years ago

there should be an elisp fragment that lets you evaluate the output of reo --emacs-config so you don't have to copy/paste and will automatically change when you change your default erlang.