Enable the global-linum-mode again as the bug in emacs is fixed now
Open erlang application resource files (*.app and *.app.src) in erlang mode
Configure flymake for erlang mode. At the moment commented out due to some issues