Create emacs modes