Hi.

Platform: RedHat Linux 6.2, running kernel version 2.2.19-6.2.1
GNU Emacs version: 20.7.1 (i386-redhat-linux-gnu, X toolkit) 
  of Tue Jun 13 2000 on porky.devel.redhat.com

I have just obtained JDE, as well as the various other pieces required
for same (semantic, speedbar, elib, eieio).  All were unpacked into my
personal elisp directory (~/elisp).  

My .emacs file is essentially the same as http://jde.sunsite.dk/_emacs_jde

------%<--%<--%<---cut here---%<--%<--%<----------------------------

;; This .emacs file illustrates the minimal setup
;; required to run the JDE.

;; Set the debug option to enable a backtrace when a
;; problem occurs.
(setq debug-on-error t)

;; Update the Emacs load-path to include the path to
;; the JDE and its require packages. This code assumes
;; that you have installed the packages in the emacs/site
;; subdirectory of your home directory.
(add-to-list 'load-path (expand-file-name "~/elisp/jde-2.2.6/lisp"))
(add-to-list 'load-path (expand-file-name "~/elisp/semantic-1.3.3"))
(add-to-list 'load-path (expand-file-name "~/elisp/speedbar-0.13a"))
(add-to-list 'load-path (expand-file-name "~/elisp/elib-1.0"))
(add-to-list 'load-path (expand-file-name "~/elisp/eieio-0.16"))

;; If you want Emacs to defer loading the JDE until you open a 
;; Java file, edit the following line
(setq defer-loading-jde t)
;; to read:
;;
;;  (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.
(defun my-jde-mode-hook ()
  (setq c-basic-offset 2))

(add-hook 'jde-mode-hook 'my-jde-mode-hook)

------%<--%<--%<---cut here---%<--%<--%<----------------------------

Problem: When I visit a java file, I get the following error message:
  File mode specification error: (void-variable vals)
Suggestions?  Thanks.

-- 
Art Werschulz (8-{)}   "Metaphors be with you."  -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? 
Net: [EMAIL PROTECTED] <a href="http://www.dsm.fordham.edu/~agw/";>WWW</a>
Phone:   Fordham U. (212) 636-6325, Columbia U. (212) 939-7061

Reply via email to