Hello ,
when I run jde-2.2.4 I get an error during init function definition is
void: eval-when. This happens on Linux and NT v4.0. If i run jde-2.2.3
everythins works fine.
Environments:
jde 2.2.4
speedbar -0.12
elib 0.06
elib 1.0
semantic-1.2.1
emacs 20.7
os: Linux and NT both act the same.
Thanks
Jay
*message*
Loading xrefin.el (source)...
Loading xrefin.el (source)...done
Error in init file: Symbol's function definition is void: eval-when
.emacs
;;
;; color syntax for buffers
(add-hook 'c-mode-hook 'turn-on-font-lock)
(add-hook 'c++-mode-hook 'turn-on-font-lock)
(add-hook 'java-mode-hook 'turn-on-font-lock)
(setq font-lock-maximum-decoration 2)
;; Xref-Speller configuration part ;;
;; some Xref-Speller defaults can be set here
;;(defvar xref-current-project "my_project_name")
;;(defvar xref-coloring t)
(setq load-path (append load-path '("/home/xref/emacs")))
(load "xrefin.el")
;; end of Xref-Speller configuration part ;;
;;
;; set eth debu option to enable a backtarce when a problem occures
(setq debug-on-error t)
;; add jde
(add-to-list 'load-path (expand-file-name "~/emacs/site/jde-2.2.4/lisp"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/semantic-1.2.1"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/speedbar-0.12"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/elib"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/elib/elib-0.06"))
(add-to-list 'load-path (expand-file-name
"~/emacs/site/elib/elib-0.06/library"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/elib/elib-1.0"))
;;
;; load jde when java file is opened
;;
;;(setq defer-loading-jde t)
(setq defer-loading-jde nil)
;;(require 'jde)
(if defer-loading-jde
(progn
(autoload 'jde-mode "jde" "JDE mode," t)
(setq autmode-alist
(append
'(("\\.java\\'" . jde-mode))
auto-mode-alist)))
(require 'jde))
;;
;; run bash as shell
;;
(setq shell-file-name "bash")
(setq shell-command-switch "-c")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(if (boundp 'w32-quote-process-args)
(setq w32-quote-process-args ?\")) ;; include only for MS windowsl
(custom-set-variables
'(jde-db-option-classpath (quote
("~/cvs.ca.desta/DESTA/Source/Java:~/cvs.ca.desta/CA/Source/Java:$(JAVA_
CLASSPATH)")))
'(jde-global-classpath (quote ("$(JAVA_CLASSPATH)")))
(custom-set-faces)