I have downloaded the correct version of "semantic.1.2.1.tar.gz" and
"speedbar-0.12.tar.gz" and modified my .emacs to load the correct version
of the two software. But I am still having the exact same problem???
Below is my updated .emacs file and the *Message* contents.
Ben
;;==========================================================================
=
(set-frame-font "-*-Courier New-normal-r-*-*-12-90-*-*-c-*-*-ansi-")
(add-to-list 'load-path
(expand-file-name "d:/utils/emacs-20.6/ported/jde-2.2.5/lisp"))
(add-to-list 'load-path
(expand-file-name "d:/utils/emacs-20.6/ported/semantic-1.2.1"))
(add-to-list 'load-path
(expand-file-name "d:/utils/emacs-20.6/ported/speedbar-0.12"))
(add-to-list 'load-path
(expand-file-name "d:/utils/emacs-20.6/ported/elib-1.0"))
(setq defer-loading-jde t)
(if defer-loading-jde
(progn
(autoload 'jde-mode "jde" "JDE mode." t)
(setq auto-mode-alist
(append
'(("\\.java\\'" . jde-mode))
auto-mode-alist)))
(require 'jde))
;; Sets the basic indentation for Java source files
;; to two spaces.
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
;;(define-key java-mode-map "\C-c\C-c" 'compile)
(defun my-jde-mode-hook ()
(require 'cc-mode)
(c-initialize-cc-mode)
(c-set-style "stroustrup")
(setq c-basic-offset 4)
(c-set-offset 'substatement-open 0)
(c-set-offset 'inline-open 0)
(setq c-tab-always-indent t)
;;;(auto-fill-mode 75)
)
===========================================================================
(D:\Utils\emacs-20.6\bin\emacs.exe -g 80x45+442+12)
For information about the GNU Project and its goals, type C-h C-p.
Making completion list...
Loading view...
Loading view...done
Loading jde (source)...
Loading cus-face...
Loading cus-face...done
Loading regexp-opt...
Loading regexp-opt...done
Loading backquote...
Loading backquote...done
Loading wid-browse...
Loading wid-browse...done
Loading cl-macs...
Loading cl-macs...done
Bootstrapping objects...
Bootstrapping objects...done
Loading cl-extra...
Loading cl-extra...done
Loading jde (source)...done
Loading cl-seq...
Loading cl-seq...done
Setting JDE variables to startup values...
Fontifying z.java...
Fontifying z.java... (regexps.........................................)
Setting JDE variables to startup values...
File mode specification error: (invalid-function (macro lambda (token)
"Retrieve from TOKEN the token identifier.
ie, the symbol 'variable, 'function, 'type, or other." (\` (nth 1 (\,
token)))))
Fontifying *scratch*...
Fontifying *scratch*... (regexps............)
File mode specification error: (invalid-function (macro lambda (token)
"Retrieve from TOKEN the token identifier.
ie, the symbol 'variable, 'function, 'type, or other." (\` (nth 1 (\,
token)))))
Beginning of buffer
Beginning of buffer
-----Original Message-----
From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 20, 2000 12:45 PM
To: Ben Chang
Cc: [EMAIL PROTECTED]
Subject: Re: JDE "invalid-function" error after loading a .java file
At 12:19 PM 11/20/00 -0800, you wrote:
>Hi,
>
>I have just downloaded the JDE 2.2.5. Everything works fine except
>that every time after I load a .java file, the mini-buffer displays
>the following error message. However, the JDE still seems to be
>working correctly...
>
> File mode specification error: (invalid-function (macro lambda
> (token) "Retrieve from TOKEN the token identifier. ie, the symbol
> 'variable, 'function, 'type, or other." (\` (nth 1 (\, token)))))
>
>I have a PC running Windows NT 4.0/SP6, with the following software
>
> - Emacs 20.6.1
> - JDE 2.2.5
> - semantics 1.3.2
> - speedbar 0.13a
> - elib 1.0
>
As the release notes state, this version of the JDE does not work with
versions of semantic later than 1.2.1 and versions of speedbar later than
0.12. If you want a version of the JDE that works with the latest versions
of speedbar and semantic, download the latest beta.
- Paul