changed default editor to emacs