The attached patch and emacs site-lisp start file adds support for developing Erlang code in Emacs. If you like, I will commit the changes to dev-lang/erlang.
Created attachment 48865 [details, diff] erlang-emacs-support.diff USE support for emacs
Created attachment 48866 [details] 50erlang-gentoo.el (put this in $FILESDIR)
Committed patch to CVS.