>From: Tassilo Horn >IMO, the recommended style for making keybindings should be `kbd', which >is available in Emacs, XEmacs, and SXEmacs. > >So your 2 definitions would become: > > (global-set-key (kbd "") 'My-Command) > (global-set-key (kbd "C-x c") 'My-Other-Command) > >That's quite easy to read and write (you can simply insert the string >describe-key outputs as argument to `kbd'), and it hides how an >implementation represents the key sequences internally. I'd never heard of (kbd) before, but I like that representation a lot. It's the same syntax that describe-key outputs, and it's also the same syntax that people use when writing about emacs key bindings (e.g., the emacs tutorial). If you understand what "C-x C-f" means, then you basically know how to supply arguments to kbd. Steve (who just re-wrote all of his custom key bindings)