At 11:21 AM 9/18/00 -0500, you wrote:
>I as well am seeing the same error.
Someone suggested I wrap a defconst statement at the head of jde.el in an
eval-when form to permit compilation. Unfortunately, I did not know that
this is not a standard Emacs form but is defined by the cl package and it
so happens the defconst (and hence the eval-when) appears ahead of the
(require 'cl ) form in jde.el. I will fix this in the next release.
Meanwhile a work around (as I have already posted twice this morning) is to
put
(require 'cl)
in your .emacs file IN FRONT OF the (require 'jde) form.
- Paul
>I have also renamed my prj.el file, so I know it is not that causing bad
>settings.
>
>Changing back to JDE 2.2.3 works fine.
>
>This message appears in *Messages*:
>Error in init file: Symbol's function definition is void: eval-when
>
>Loading my .emacs file and doing an eval-buffer gives in *BackTrace*:
>Signaling: (void-function eval-when)
> (eval-when (eval load compile) (defconst jde-xemacsp (string-match
> "XEmacs" ...) "Non-nil if we are running in the XEmacs environment.")
> (defconst jde-xemacs20p (and jde-xemacsp ...)))
> eval-buffer(#<buffer *load*> nil "jde")
> load-with-code-conversion("d:/home/emacs/jde-2.2.4/lisp/jde.el" "jde"
> nil t)
> require(jde)
> eval-current-buffer()
> call-interactively(eval-current-buffer)
>
>
> > Date: Mon, 18 Sep 2000 17:26:45 +0400
> > From: ANDRIAMASINORO Fenintsoa <[EMAIL PROTECTED]>
> > To: Paul Kinnucan <[EMAIL PROTECTED]>,
> > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > Subject: JDE 2.2.4
> >
> > Hi all,
> >
> > When I load JDE 2.2.4, I receive the following message:
> > "Error in init file: Symbol's function definition is void: eval-when"
> > It neverthless load the whole .java file and displaying "Loading
> > cc-mode.....done"
> > Furthermore, it does not take account into some customizations in
> > ..Emacs, such the "global-set-key" and the "custom-set-faces". But it
> > takes account into the "set-face-foreground ....".
> >
> > Immediately, I was coming back to jde 2.2.3 without changing nothing and
> > loading the same file: All was fine.
> >
> > Help please.
> >
> > Fenintsoa
> >
> >
> > --
> > [@666[]]::::::::::::::::::::::::::::::::::>
> > ANDRIAMASINORO Fenintsoa
> > Multi-agent Researcher
> > IREMIA University of La R�union
> > FRANCE
> > T�l: 02 62 89 51 65 (portable) / 02 62 93 83 24 (office)
> > E-Mail: [EMAIL PROTECTED]
> > ----------------------------