On Tue, 28 Aug 2001 11:32:09 -0500, "Molitor, Stephen" <[EMAIL PROTECTED]> wrote:

> This is more of an Emacs Lisp question, but it is for something I'm working
> on that's JDE related....
> 
> What's the easiest way to create dynamic menus in Emacs Lisp?  I'd like to
> create a menu for building from Ant (via jde-ant), that would have each
> target listed in the menu.  It would read the list of targets from the ant
> build file.  So, both the menu key, and the function it invokes, would have
> to be dynamic.
> 
> I hope my question isn't too off-topic.  Are there any good Emacs Lisp news
> groups?  I did try plowing through imenu.el, but it was tough to follow.

Check the easymenu.el file that comes with your Emacs. This package
provides a common API for defining menus in both GNU Emacs and
XEmacs. You can also look for usage patters inside JDE and other
packages that use easymenu.


Best regards,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

Reply via email to