[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting the command that a certain menu function runs?
From: |
Lennart Borgman (gmail) |
Subject: |
Re: Getting the command that a certain menu function runs? |
Date: |
Tue, 14 Oct 2008 18:29:44 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
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.