starts in emacs mode