emacs: fixed whitespace, keymappings and ansi-term