[emacs] Some work improving keys and defaults for various modes.