Latest hacking of emacs configuration.

Probably has a bunch of stuff broken like scala mode and erlang mode.