I highly recommend the Erlang mode shipped with the standard Erlang distribution. I’ve put together a “works out of the box” Emacs configuration which includes:
- Syntax highlighting & context-sensitive indentation
- Dynamic compilation with on-the-fly error highlighting
- Integrated Erlang shell
- And more….
You can browse my GitHub repo here: