Hi,
I have just switched from 2.2.5 to 2.2.6. Now I get a
"File mode specification error: (void-variable vals)" every time
I try to open a .java file. Everything works fine with version
2.2.5 of JDE (and versions semantic-1.1, eieio-0.13).
An experimental attempt with 2.2.7beta gives the same error.
For now I am quite happy to use 2.2.5, as this version works
well for me. I would like to work out what is going on, though.
Here is my setup:
Windows NT4.0
GNU Emacs 20.7.1
JDE 2.2.6
elib-1.0
eieio-0.16
semantic-1.3.3
speedbar-0.12
no prj.el file.
.emacs file (complete):
-------------------------start---------------------------------------
(setq debug-on-error t)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Set up load path
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq load-path
'("d:/emacs/bin" "d:/emacs/lisp/calendar" "d:/emacs/lisp/emacs-lisp"
"d:/emacs/lisp/emulation" "d:/emacs/lisp/gnus" "d:/emacs/lisp/international"
"d:/emacs/lisp/language" "d:/emacs/lisp/mail" "d:/emacs/lisp/play"
"d:/emacs/lisp/preempted/textmodes" "d:/emacs/lisp/preempted"
"d:/emacs/lisp/progmodes" "d:/emacs/lisp/term" "d:/emacs/lisp/textmodes"
"d:/emacs/lisp" "d:/auctex/style" "d:/auctex" "d:/mylisp/calc-2.02f"
"d:/mylisp/dmacro" "d:/mylisp/eieio-0.16" "d:/mylisp/elib-1.0" "d:/mylisp/irchat-3.04"
"d:/mylisp/jde-2.2.6/java/src/jde/debugger/interpret" "d:/mylisp/jde-2.2.6/lisp"
"d:/mylisp/reftex" "d:/mylisp/semantic-1.3.3" "d:/mylisp/speedbar-0.12"
"d:/mylisp/tiny-2000-11-18/bin" "d:/mylisp/tiny-2000-11-18/lisp/other"
"d:/mylisp/tiny-2000-11-18/lisp/rc" "d:/mylisp/tiny-2000-11-18/lisp" "d:/mylisp/"
"d:/auctex/" "D:/emacs/lisp"))
;; Defer loading of jde stuff until a .java file is loaded
(autoload 'jde-mode "jde" "JDE mode." t)
(setq auto-mode-alist
(append
'(("\\.java\\'" . jde-mode))
auto-mode-alist))
-----------------------end--------------------------------------------
Back trace:
I have been completely unable to produce a back trace. Even though
I have "(setq debug-on-error t)" in my .emacs, no backtrace is ever
produced when the file mode specification error is issued. Setting
debug-ignore-errors to nil does not change this behaviour.
Contents of *Messages* buffer.
(D:\emacs\bin\emacs.exe)
Loading time...
Loading time...done
Loading timer...
Loading timer...done
Loading untranslate...
Loading untranslate...done
Loading font-lock...
Loading cus-face...
Loading cus-face...done
Loading regexp-opt...
Loading regexp-opt...done
Loading font-lock...done
Loading stig-paren...
Loading stig-paren...done
Loading header...
Loading header...done
Loading tex-site...
Loading tex-site...done
For information about the GNU Project and its goals, type C-h C-p.
Fontifying *scratch*...
Fontifying *scratch*... (regexps............)
For information about the GNU Project and its goals, type C-h C-p.
Loading jde...
Loading backquote...
Loading backquote...done
Loading wid-browse...
Loading wid-browse...done
File mode specification error: (void-variable vals)