4 First compile Distel's Erlang modules with 'make'.
6 Next add these modules to your code-path by adding a line to
7 ~/.erlang (substitute correct path):
9 code:add_pathz("/home/me/jungerl/lib/distel/ebin").
11 Then add these lines to your ~/.emacs (again substitute correct path):
13 (add-to-list 'load-path "/home/me/jungerl/lib/distel/elisp")
17 You can also build the documentation in doc/ with 'make postscript'
18 for a printable manual and 'make install' to install the info manual.
20 You should now be in the air! If so you should see "Erlang EXT" in the
21 Emacs modeline when you open an Erlang source file (meaning you're in
22 the EXTended erlang mode). Check out the manual in doc/ to find out
25 ============================================================
27 Special notes for Mac OSX:
29 David Wallin reports the following procedure to setup Distel to work
30 on an OSX machine with no network connection:
32 1. Start NetInfo Manager.app (in /Applications/Utilities)
33 2. From NetInfo Manager, select the directory path
34 "/machines/localhost" and mark property "name" and (and anytime
35 before here: click on the lock and enter the password) choose
36 "Append Value" from the "Directory" menu.
37 3. Enter your machine name as the appended value and Save.
39 This procedure is like putting "127.0.0.1 <hostname>" into /etc/hosts
40 on a UNIX machine. It's necessary so that Emacs can open sockets to
41 the localhost via the hostname part of a nodename without talking to