use emacs mode for cli