Lots of emacs goodness from Prelude.