help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: describe the entries of a menu


From: Tassilo Horn
Subject: Re: describe the entries of a menu
Date: Mon, 25 Oct 2010 10:13:02 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

"A. Soare" <alinsoar@voila.fr> writes:

Hi Alin,

> I wish to find the bindings of the entries of a menu. ( the analogous
> for describe-key (C-h k) for keys ).

Then do it exactly as for keys, that is, hit `C-h k' and then klick on
the menu entry you are interested in.

,----[ C-h k <menu-bar> <help-menu> <describe> <describe-key-1> ]
| <menu-bar> <help-menu> <describe> <describe-key-1> runs the command
| describe-key, which is an interactive compiled Lisp function in `help.el'.
| 
| It is bound to C-h k, <f1> k, <help> k, <menu-bar> <help-menu> <describe>
| <describe-key-1>.
| 
| (describe-key &optional KEY UNTRANSLATED UP-EVENT)
| 
| Display documentation of the function invoked by KEY.
| KEY can be any kind of a key sequence; it can include keyboard events,
| mouse events, and/or menu events.  When calling from a program,
| pass KEY as a string or a vector.
| 
| If non-nil, UNTRANSLATED is a vector of the corresponding untranslated events.
| It can also be a number, in which case the untranslated events from
| the last key sequence entered are used.
| UP-EVENT is the up-event that was discarded by reading KEY, or nil.
| 
| If KEY is a menu item or a tool-bar button that is disabled, this command
| temporarily enables it to allow getting help on disabled items and buttons.
`----

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]