tweak emacs for console