I've got a minor problem with JDE's Classes menu
If, on starting emacs, I load a badly formed java program, for example :
public class BugTest
{
// no closing brace
then when I try to select the 'Classes' menu, it seems to crash some part
of imenu. The word 'Classes' gets redrawn in a bold font, and the menu
doesn't drop down. Worse, if I switch to another java program the classes
menu still doesn't work. Even if I switch to a C++ program, it's
'Functions' menu also fails. And the 'Buffers' menu no longer shows all
buffers, it just shows "*scratch*" and "*messages*".
(Note that no error messages are shown in the messages buffer)
Something similar goes wrong if I change a valid program to make it badly
formed, and then select 'Classes/Rescan'.
I get an error message:
Scan error: "Unbalanced parentheses", 23, 26
That particular buffer still has a usable Classes menu, but if I switch
buffers, *some* other buffers lose their Classes menu.
This seems to happen for me in JDE 2.1.6, 7 and 8. I hadn't noticed it
until today, but then I tend to always write braces before I fill them with
code :)
I'm running Emacs 20.5.1 on Win98, semantic 1.1, and speedbar 0.11.
-Korny
--
Kornelis Sietsma http://www.sietsma.com/korny
e-mail: [EMAIL PROTECTED] icq: 2039172