Adding emacs mode