added emacs mode
added emacs mode