run emacs correctly