Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs: mitigating dependancy on the mouse

Tags:

emacs

cedet

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?

like image 229
Yktula Avatar asked May 30 '10 22:05

Yktula


1 Answers

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.

like image 72
Steve Simms Avatar answered Oct 04 '22 00:10

Steve Simms