emacs emulation for emacs