For example, in this screenshot,

enter image description here

I would like to find out what command is called by clicking on Python->Execute statement.

  • 3
    C-h k and then click on the menu item. – lawlist Jun 9 '14 at 1:56
  • @lawlist: Please post your comment as an answer (it is the answer). – Drew Jun 9 '14 at 2:00
  • See also this question. – legoscia Jun 13 '14 at 14:31

The keyboard combination C-h k can be used to obtain information about functions linked to certain menu items or other keys. In the context of this question, entering C-h k and then clicking on the menu item will display the name of the function and additional helpful information (e.g., the doc string sometimes can be very useful).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.