Emacs as a command line tool