Emacs keymap utilities