"Lennart Borgman (gmail)" writes: > formido wrote: >>>> More generally, when confronted by a menu command, how can I easily go >>>> to its definition? >>> Type Alt+x describe-key, then pull the menu. Then, you'll get the >>> command name run by that menu. Then, type Alt+x describe-function. >>> It'll pop up the online doc of the function with link to the source >>> code where the function is defined. >>> >>> Xah >>> ‡”http://xahlee.org/ > > > You can also > > C-h k > > and then pull the menu. (Or `F1 k' which is equivalent.) This will > directly show then function documentation. > > And to see the function itself you can do M-x find-function-on-key RET your_key RET ,----[ C-h f find-function-on-key RET ] | find-function-on-key is an interactive compiled Lisp function in | `find-func.el'. | | It is bound to C-h K, K, K. | | (find-function-on-key key) | | Find the function that key invokes. key is a string. | Set mark before moving, if the buffer already existed. | | [back] `---- And bind it to for exemple: ,---- | (global-set-key (kbd "\C-hK") 'find-function-on-key) `---- -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France