Emacs mode

Old stuff! Try running it.