Thread: [CEDET-devel] An experiment - cedet-m3.el
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2010-03-19 00:38:31
|
Hi all, I wanted to post an early experimental minor-mode found in common/cedet-m3.el in CVS. It is not a part of the project, so it isn't being compiled or distributed. At the moment the minor mode binds mouse-3 to a context menu. (Normally, mouse-3 is save-then-kill). What's cool about the menu is that it looks where you click, and tries to pick out some useful things that are unique to that location, so the menu is always different. It also brings together semantic, ede, and srecode into one menu. This is a prototype of where I'd like to go w/ CEDET as a unified interface instead of a mere collection of tools. Comments welcome. Eric |
From: Lennart B. <len...@gm...> - 2010-03-19 00:55:27
|
On Fri, Mar 19, 2010 at 1:38 AM, Eric M. Ludlam <er...@si...> wrote: > Hi all, > > I wanted to post an early experimental minor-mode found in > common/cedet-m3.el in CVS. It is not a part of the project, so it isn't > being compiled or distributed. > > At the moment the minor mode binds mouse-3 to a context menu. > (Normally, mouse-3 is save-then-kill). What's cool about the menu is > that it looks where you click, and tries to pick out some useful things > that are unique to that location, so the menu is always different. It > also brings together semantic, ede, and srecode into one menu. > > This is a prototype of where I'd like to go w/ CEDET as a unified > interface instead of a mere collection of tools. Comments welcome. Is this in the Emacs repository? I have also tried to implement a context sensitive popup menu that looks at things at the current point. My version is called appmenu.el and is available here: http://bazaar.launchpad.net/~nxhtml/nxhtml/main/annotate/head%3A/util/appmenu.el I have bound this to mouse-3 and app. It tries to find things specific to point (like completion, key bindings at point) and puts those in the menu. Menu entries can also be specifically added (with priorities used for sorting). Since the interest in it have been very low I have experimented a bit with it and currently it depends on some things in nXhtml so if someone wants to test then please download nXhtml. |