Erlang mode for Emacs

Ingela Anderton ingela@REDACTED
Mon Jul 7 09:49:40 CEST 2003


Roger Price wrote:


> install R9B erlang.el following the README:
> 
> ;; Erlang major mode;; For UNIX
> (setq load-path (cons  "/usr/local/lib/erlang_R9B-0/misc/emacs"
>                        load-path))
> (setq erlang-root-dir "/usr/local/lib/erlang_R9B-0/")
> (setq exec-path (cons "/usr/local/lib/erlang_R9B-0/bin" exec-path))
> (require 'erlang-start)
> 
> but got an error massage from emacs saying
> 
> File error: "Cannot open load file", "erlang-start"
> 
> Should that 'erlang-start be something else?
Alas that README is a bit outdated.

Try
   (setq load-path (cons "/usr/local/lib/erlang_R9B-0/lib/tools-2.2/emacs"
      load-path))
      (setq erlang-root-dir "/usr/local/lib/erlang_R9B-0/")
      (setq exec-path (cons "/usr/local/lib/erlang_R9B-0/bin" exec-path))

The README has been updated for the coming release and there will be
a users guide and manual page too.

-- 
/Ingela

Ericsson AB - OTP team









More information about the erlang-questions mailing list