Revisit emacs settings

Add a couple of fancy things like line numbering on the left, and some
OSX-specific settings.