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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With