For about the last 15 years (yikes), I've been a user of the Joe Editor through thick and thin. It's small, fast, almost free of depencies, but unfortunately, completely unpopular. In fact, I often feel like I may be the only avid Joe user in the whole world.
Recent versions of Joe have added syntax highlighting, and to make my life working in Erlang more tolerable, I developed a quick and dirty (and flawed) syntax highlighting definitions file for Erlang use with Joe. Click here to download it. Once you have a copy, drop it into /usr/local/etc/joe/syntax (or similar), and add these lines to your joerc file (/usr/local/etc/joe/joerc in my case) to enable the definition file:
*.erl
-autoindent
-syntax erlang
-semi_comment
-tab 2
The module still has a lot of problems - in particular, the preprocessor statements are often colored wrong. Still, I find it useful. Caveat emptor. Problems? lackner@gmail.com.
Not only that, you're not the only one using Joe to edit Erlang code!
Thanks for the syntax highlighting code, if I make any changes I'll be sure to send them your way.