Paul Kinnucan wrote:

> At 02:13 PM 9/20/99 -0400, Kevin Delia wrote:
> >Hello,
> >
> >    Has anyone experienced the following?  I just upgraded to 20.4 and
> >when I attempt to load a Java file, I get the following error:
> >
> >Fontifying NBSearchDialog.java...
> >Fontifying NBSearchDialog.java... (regexps.............)
> >Symbol's value as variable is void: c-Java-inexpr-class-key
> >
> > I am still running 20.3.1 and have never seen this (haven't seen it
> >with any other version of NT Emacs or JDE).  I am using the same version
> >of JDE with both releases...
> >
>
> Check your load-path. It probably contains an obsolete version of cc-mode.

("c:/emacs-20.4/site-lisp" "c:/emacs-20.4/lisp" "c:/emacs-20.4/lisp/textmodes"
"c:/emacs-20.4/lisp/progmodes" "c:/emacs-20.4/lisp/play"
"c:/emacs-20.4/lisp/mail" "c:/emacs-20.4/lisp/language"
"c:/emacs-20.4/lisp/international" "c:/emacs-20.4/lisp/gnus"
"c:/emacs-20.4/lisp/emulation" "c:/emacs-20.4/lisp/emacs-lisp"
"c:/emacs-20.4/lisp/calendar" "c:/emacs-20.4/site-lisp/jde-2.1.5")

The problem file is in cc-langs.el, the one that is supplied with 20.4 - I
haven't done anything other than unpack the distribution.  Here is the line in
question:

(defconst c-Java-inexpr-class-key "\\<new\\>")

It is also referenced in cc-mode.el

 c-inexpr-class-key c-Java-inexpr-class-key

Is anyone else having this problem...

>
>
> >    Also, does anyone have a problem with Speedbar?  I invoke Speedbar
> >and the screen initially flashes, then is not visible..I find it on the
> >the task bar, and when I maximize it (the only possible option besides
> >closing that really works), it is not resizable.
> >
>
> Perhaps the speedbar is being displayed offscreen initially. Try making the
> Emacs window very small to give the speedbar room to display next to it on
> your screen.
>

Yes, that was it...I had my Emacs maximized, so I guess it reads off of the
parent's display dimensions to size and position itself, which is what confuses
it...sounds like a bug to me!

>
> - Paul

Thanks, Paul, for the accurate and timely help...I hope I can get some
resolution to the cc-*.el stuff, because I can't use 20.4 unless I can use JDE
- don't do anything other than Java programming, so that's my bread and
butter....

Reply via email to