public
Fork of jdavisp3/erlware-emacs-mode
Description: Emacs mode for Erlang.
Homepage: http://code.google.com/p/erlware-mode/
Clone URL: git://github.com/erlware/erlware-mode.git
name age message
file .gitignore Thu Jan 03 22:43:06 -0800 2008 Ignore compiled elisp files. [jdavisp3]
file AUTHORS Wed May 20 20:52:20 -0700 2009 Update AUTHORS and remind myself to do so in th... [jdavisp3]
file ChangeLog Sun Oct 11 13:08:06 -0700 2009 Update ChangeLog. [jdavisp3]
file README Wed Jan 09 21:07:05 -0800 2008 Add erlware.org to README. [jdavisp3]
file erlang-flymake.el Wed Jul 15 09:08:23 -0700 2009 removed flawed next-error code. [mats cronqvist]
file erlang-sinan.el Thu Jan 03 22:08:02 -0800 2008 Add sinan clean function. [jdavisp3]
file erlang-skels.el Sun Apr 20 10:30:09 -0700 2008 Use supervisor:start_link/0. Update docs. This... [jdavisp3]
file erlang-start.el Tue Jul 28 09:21:54 -0700 2009 * erlang-start.el: Associate files using interp... [legoscia]
file erlang.el Sun Oct 11 13:06:04 -0700 2009 Bump version number. [jdavisp3]
file flymaker.sh Thu Jul 30 14:49:52 -0700 2009 Update for erlware erlc support. [jdavisp3]
file release-checklist.txt Wed May 20 20:52:20 -0700 2009 Update AUTHORS and remind myself to do so in th... [jdavisp3]
file tags.3 Fri Nov 02 20:23:51 -0700 2007 inital pull from with skel changes This is the... [cyberlync]
file tags.erl Fri Nov 02 20:23:51 -0700 2007 inital pull from with skel changes This is the... [cyberlync]
file test.erl Mon Jun 15 04:05:44 -0700 2009 make flymake use $HOME/.erlang-flymake as temp ... [mats cronqvist]
README
User configuration notes
========================

Below is a quick guide to necessary configurations for getting
started with the Erlang mode for Emacs. Please refer to the
Users guide and reference manual in the documentation for the
Erlang/OTP application tools for more information.

You can obtain a copy of the Erlang man pages here:

    http://www.erlang.org/download

Note for the man page menus to be populated, the Erlang
man pages must be in uncompressed form.

Additional documenation for this mode can be found here:

    http://erlware.org/tools/erlware-mode


For UNIX users
--------------

To set up the Erlang Emacs mode on UNIX systems, edit/create the file
.emacs in the your home directory.

Below is a complete example of what should be added to a user's .emacs
provided that OTP is installed in the directory /usr/local/otp:
        
      (setq load-path (cons "<path-to-mode>/erlware-mode" load-path))
      (setq erlang-man-root-dir "/usr/local/otp")
      (setq exec-path (cons "/usr/local/otp/bin" exec-path))
      (require 'erlang-start)

For XEmacs, you use add-to-list to modify the load path:

      (add-to-list 'load-path "<path-to-mode>/erlware-mode")

If your XEmacs system already has the default erlang mode on
the search path, you may need to put the erlware path at the
front of the search path:

      (push "<path-to-mode>/erlware-mode" load-path)


For Windows users
-----------------

To set up the Erlang Emacs mode on Windows systems, edit/create the
file .emacs, the location of the file depends on the configuration of
the system. If the HOME environment variable is set, Emacs will look
for the .emacs file in the directory indicated by the HOME variable.
 If HOME is not set, Emacs will look for the .emacs file in C:\.

Below is a complete example of what should be added to a user's .emacs
provided that OTP is installed in the directory C:\Program
Files\erl-<Ver>:

      (setq load-path (cons  "<path-to-mode>/erlware-mode" load-path))
      (setq erlang-man-root-dir "C:/Program Files/erl<Ver>")
      (setq exec-path (cons "C:/Program Files/erl<Ver>/bin" exec-path))
      (require 'erlang-start)

For XEmacs, you use add-to-list to modify the load path:

      (add-to-list 'load-path "<path-to-mode>/erlware-mode")

If your XEmacs system already has the default erlang mode on
the search path, you may need to put the erlware path at the
front of the search path:

      (push "<path-to-mode>/erlware-mode" load-path)