prompt cleanup, emacs mods