Add Emacs mode editor impl. Closes #142.