> BTW, the next release is later than expected because a minor improvement to
> JDEbug is taking longer than I expected. The improvement is for the JDEbug
> menu to appear immediately when you select JDEbug and to disappear when you
> deselect it in a customization buffer. Turns out there is no ready-made
> function, at least that I can find, for removing items from the Emacs
> menu-bar. It's easy to add items to the menu-bar but not easy to remove
> them. I've had to dig deeper than I ever wanted to into keymaps, both how
> they're structured and created by modes, to learn how to write a function
> to remove the JDEbug menu. I think I'm nearly there. The JDEbug menu now
> appears when you select JDEbug but my menu remover function removes all the
> other jde-mode and java-mode menus as well as JDEbug when you deselect
> JDEbug. As soon as I lick this problem, I'll be able to issue the next release.


Why not disable ("gray out") the menu rather than adding/deleting it? 
That's a more consitent UI, isn't it?

Reply via email to