In Emacs, how does one emulate mouse button presses and the like using a keyboard? For example, with CEDET's Semantic (included with GNU Emacs 23.2.1), includes can be right clicked to provide a menu; how can I make that menu, and others, with the keyboard, appear as a tooltip or in the minibuffer a la M-` that allows one to access the menu bar?
+3
A:
You can find out what command the mouse-click is running using C-h k
(describe-key), followed by the mouse-click in the appropriate place. You could then bind that to something on the keyboard.
It's not exactly what you're asking, but you should be able to use it to accomplish the same thing for all the clicks you care about.
Steve Simms
2010-05-31 04:05:47
The C-h k plus command (using shortcuts, not the name of the key) is just what I was looking for :)
Vivi
2010-06-01 12:25:03