I upgraded to the SourceForge cc-mode, and after a lot of experiments, this is what worked for me:
(add-to-list 'load-path (expand-file-name "~/emacs/cc-mode-5.30.9")) ... (load "cc-defs") (load "cc-fonts") (defvar java-font-lock-keywords-3 nil) (require 'jde) Very ugly, I know... :-( > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 08, 2005 7:09 AM > To: Nascif Abousalh-Neto > Cc: jde@sunsite.dk > Subject: Re: Problem loading JDE in Emacs CVS > > Nascif Abousalh-Neto wrote: > > > Hi Martin, > > > > Thanks for the feedback, I am still battling it. > > Do you have the latest cc-mode in your system, or are you > using the one that comes with Emacs? > > I'm using cc-mode coming with Emacs. > I've Cygwin installed and use the makefiles to build the > CEDET and JDEE. > > Martin > > > > > Regards, > > Nascif > > > > > >>-----Original Message----- > >>From: Martin Schwamberger [mailto:[EMAIL PROTECTED] > >>Sent: Friday, January 07, 2005 7:59 AM > >>To: Nascif Abousalh-Neto > >>Cc: jde@sunsite.dk > >>Subject: Re: Problem loading JDE in Emacs CVS > >> > >>Hi Nascif, > >> > >>I'm using this emacs build together with JDEE 2.3.5. > >>I don't experience this kind of problem. > >>java-font-lock-keywords-3 is defined. > >>Did you recompile CEDET (and the other packages, JDEE depends on)? > >> > >>Martin > >> > >>Nascif Abousalh-Neto wrote: > >> > >> > >>>Hi, > >>> > >>>I am trying out the Emacs build from CVS for Windows > >> > >>(http://www.crasseux.com/emacs/, posted by Martin Schwamberger, > >>thanks!) and I am having some problems. > >> > >>>When I try to load JDE, I get the following error: > >>> > >>>Debugger entered--Lisp error: (void-variable > >> > >>java-font-lock-keywords-3) > >> > >>> jde-java-font-lock-keywords(nil) > >>> jde-java-font-lock-setup-keywords() > >>> require(jde-java-font-lock) > >>> eval-buffer(#<buffer *load*<2>> nil "jde" nil t) ;;; > Reading at > >>> buffer position 2829 > >>> > >> > >>load-with-code-conversion("c:/home/emacs/jde-2.3.5/lisp/jde.el > >>" "jde" nil t) > >> > >>> require(jde) > >>> eval-buffer(#<buffer *load*> nil "~/.emacs" nil t) ;;; > Reading at > >>> buffer position 15813 load-with-code-conversion("c:/home/.emacs" > >>> "~/.emacs" t t) load("~/.emacs" t t) > >>> > >>> > >>>Any ideas? I already removed all the .elc and byte-compiled again. > >>> > >>>Regards, > >>> Nascif > >>> > >>> > >>> > >> > > >