I downloaded and installed Erlang and EmacsW32 . But how to use erlang.el in Emacs? Where to place or install it?
I read the Erlang / OTP R13B04 Documentation and Erlang Mode for Emacs documentation , but I did not find any information on how to configure it.
UPDATE 1: I found additional documentation on Erlang Mode for Emacs . I typed a script in my .emacs , but I get File error: Cannot open load file, erlang-start when I start Emacs, so something is wrong.
UPDATE 2: This is what my .emacs looks like. It was taken directly from the link above.
(setq load-path (cons "C:/Program Files (x86)/erl5.7.1/lib/tools-2.6.4/emacs" load-path)) (setq erlang-root-dir "C:/Program Files (x86)/erl5.7.1") (setq exec-path (cons "C:/Program Files (x86)/erl5.7.1/bin" exec-path)) (require 'erlang-start)
UPDATE 3: I just tried on a different computer, Windows 7, GNU Emacs 23.1.50.1 .emacs file is located in C:\Users\Jonas\.emacs.d\.emacs with this content:
(setq load-path (cons "C:/Program Files (x86)/erl5.7.5/lib/tools-2.6.5.1/emacs" load-path)) (setq erlang-root-dir "C:/Program Files (x86)/erl5.7.5") (setq exec-path (cons "C:/Program Files (x86)/erl5.7.5/bin" exec-path)) (require 'erlang-start)
When I try to introduce Mx erlang-version in Emacs, I get this message: [No match]
Jonas source share