* Getting the command that a certain menu function runs?
@ 2008-10-14 14:54 Tyler Spivey
2008-10-14 15:38 ` Joost Diepenmaat
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Tyler Spivey @ 2008-10-14 14:54 UTC (permalink / raw
To: help-gnu-emacs
Hello. I would like to know how to find the function that is executed by
a menu command on the menubar. describe-key isn't working for me, since
I don't use a mouse, and f10/m-` just describes the function for opening
the menubar. For example, in gnus, I would like to find the M-x
equivalent of Post>Send a message (mail or news).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Getting the command that a certain menu function runs?
2008-10-14 14:54 Getting the command that a certain menu function runs? Tyler Spivey
@ 2008-10-14 15:38 ` Joost Diepenmaat
2008-10-14 16:29 ` Lennart Borgman (gmail)
2008-10-14 15:46 ` Chris McMahan
2008-10-14 21:13 ` Ted Zlatanov
2 siblings, 1 reply; 7+ messages in thread
From: Joost Diepenmaat @ 2008-10-14 15:38 UTC (permalink / raw
To: help-gnu-emacs
Tyler Spivey <tspivey@nospampcdesk.net> writes:
> Hello. I would like to know how to find the function that is executed by
> a menu command on the menubar. describe-key isn't working for me, since
> I don't use a mouse, and f10/m-` just describes the function for opening
> the menubar. For example, in gnus, I would like to find the M-x
> equivalent of Post>Send a message (mail or news).
I'm working on a replacement for tmm-menu, at
http://github.com/joodie/iswitch-menu/tree/master
If you're willing to use that, you can find the last chosen entry by
doing
M-x describe-variable <RET> iswitch-menu-last-chosen <RET>
(a 3-element list, where the last element is the command executed)
--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Getting the command that a certain menu function runs?
2008-10-14 14:54 Getting the command that a certain menu function runs? Tyler Spivey
2008-10-14 15:38 ` Joost Diepenmaat
@ 2008-10-14 15:46 ` Chris McMahan
2008-10-14 17:15 ` Lennart Borgman
[not found] ` <mailman.1020.1224004537.25473.help-gnu-emacs@gnu.org>
2008-10-14 21:13 ` Ted Zlatanov
2 siblings, 2 replies; 7+ messages in thread
From: Chris McMahan @ 2008-10-14 15:46 UTC (permalink / raw
To: help-gnu-emacs
Tyler Spivey <tspivey@nospampcdesk.net> writes:
> Hello. I would like to know how to find the function that is executed by
> a menu command on the menubar. describe-key isn't working for me, since
> I don't use a mouse, and f10/m-` just describes the function for opening
> the menubar. For example, in gnus, I would like to find the M-x
> equivalent of Post>Send a message (mail or news).
In my system, I can run the command 'describe-key' (C-h k) and use the
mouse to select the menu item. It then appears in the buffer as any
other help screen would.
- Chris
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Getting the command that a certain menu function runs?
2008-10-14 15:38 ` Joost Diepenmaat
@ 2008-10-14 16:29 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2008-10-14 16:29 UTC (permalink / raw
Cc: help-gnu-emacs
Joost Diepenmaat wrote:
> Tyler Spivey <tspivey@nospampcdesk.net> writes:
>
>> Hello. I would like to know how to find the function that is executed by
>> a menu command on the menubar. describe-key isn't working for me, since
>> I don't use a mouse, and f10/m-` just describes the function for opening
>> the menubar. For example, in gnus, I would like to find the M-x
>> equivalent of Post>Send a message (mail or news).
>
> I'm working on a replacement for tmm-menu, at
> http://github.com/joodie/iswitch-menu/tree/master
>
> If you're willing to use that, you can find the last chosen entry by
> doing
>
> M-x describe-variable <RET> iswitch-menu-last-chosen <RET>
>
> (a 3-element list, where the last element is the command executed)
Another possibility on ms windows: If you are using the patched version
of Emacs+EmacsW32 you can use C-h k and then access the menu with the
Alt key.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Getting the command that a certain menu function runs?
2008-10-14 15:46 ` Chris McMahan
@ 2008-10-14 17:15 ` Lennart Borgman
[not found] ` <mailman.1020.1224004537.25473.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: Lennart Borgman @ 2008-10-14 17:15 UTC (permalink / raw
To: Chris McMahan; +Cc: help-gnu-emacs
On Tue, Oct 14, 2008 at 5:46 PM, Chris McMahan <cmcmahan@one.net> wrote:
> Tyler Spivey <tspivey@nospampcdesk.net> writes:
>
>> Hello. I would like to know how to find the function that is executed by
>> a menu command on the menubar. describe-key isn't working for me, since
>> I don't use a mouse, and f10/m-` just describes the function for opening
>> the menubar. For example, in gnus, I would like to find the M-x
>> equivalent of Post>Send a message (mail or news).
>
> In my system, I can run the command 'describe-key' (C-h k) and use the
> mouse to select the menu item. It then appears in the buffer as any
> other help screen would.
Yes, that is a very nice and useful feature, but Tyler wrote he did
not use a mouse.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Getting the command that a certain menu function runs?
[not found] ` <mailman.1020.1224004537.25473.help-gnu-emacs@gnu.org>
@ 2008-10-14 18:17 ` Chris McMahan
0 siblings, 0 replies; 7+ messages in thread
From: Chris McMahan @ 2008-10-14 18:17 UTC (permalink / raw
To: help-gnu-emacs
"Lennart Borgman" <lennart.borgman@gmail.com> writes:
> On Tue, Oct 14, 2008 at 5:46 PM, Chris McMahan <cmcmahan@one.net> wrote:
>> Tyler Spivey <tspivey@nospampcdesk.net> writes:
>>
>>> Hello. I would like to know how to find the function that is executed by
>>> a menu command on the menubar. describe-key isn't working for me, since
>>> I don't use a mouse, and f10/m-` just describes the function for opening
>>> the menubar. For example, in gnus, I would like to find the M-x
>>> equivalent of Post>Send a message (mail or news).
>>
>> In my system, I can run the command 'describe-key' (C-h k) and use the
>> mouse to select the menu item. It then appears in the buffer as any
>> other help screen would.
>
> Yes, that is a very nice and useful feature, but Tyler wrote he did
> not use a mouse.
Oops... my fault for not reading closely enough.
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Getting the command that a certain menu function runs?
2008-10-14 14:54 Getting the command that a certain menu function runs? Tyler Spivey
2008-10-14 15:38 ` Joost Diepenmaat
2008-10-14 15:46 ` Chris McMahan
@ 2008-10-14 21:13 ` Ted Zlatanov
2 siblings, 0 replies; 7+ messages in thread
From: Ted Zlatanov @ 2008-10-14 21:13 UTC (permalink / raw
To: help-gnu-emacs
On Tue, 14 Oct 2008 07:54:39 -0700 Tyler Spivey <tspivey@nospampcdesk.net> wrote:
TS> Hello. I would like to know how to find the function that is executed by
TS> a menu command on the menubar. describe-key isn't working for me, since
TS> I don't use a mouse, and f10/m-` just describes the function for opening
TS> the menubar. For example, in gnus, I would like to find the M-x
TS> equivalent of Post>Send a message (mail or news).
The programmer's shortcut:
# adjust for your particular packages
grep -C 20 easy-menu-define ~/gnus/gnus/lisp/*.el
...or just go in the package and do `M-x occur' for easy-menu-define.
Not ideal, sure, but it will tell you exactly what's been installed.
HTH
Ted
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-10-14 21:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-14 14:54 Getting the command that a certain menu function runs? Tyler Spivey
2008-10-14 15:38 ` Joost Diepenmaat
2008-10-14 16:29 ` Lennart Borgman (gmail)
2008-10-14 15:46 ` Chris McMahan
2008-10-14 17:15 ` Lennart Borgman
[not found] ` <mailman.1020.1224004537.25473.help-gnu-emacs@gnu.org>
2008-10-14 18:17 ` Chris McMahan
2008-10-14 21:13 ` Ted Zlatanov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.