I'm using:

RedHat 7.0 w/rpm updates
emacs 20.7-17

jde-2.2.6
eieio-0.15
elib-1.0
semantic-1.3.2
speedbar-0.13a

I had the JDE working fine. And I don't know what happened, possibly due
to some RPM updates, but I've broken my JDE. AFAIK, I didn't change
anything directly.

I had it working also on another linux box (RedHat 6.1/emacs20.4, so I
copied over the relevant jde directories and the .emacs file, but with no
change.


I get this error:
----------------------
File mode specification error: (void-variable l)
----------------------

'M-x eval-current-buffer' provides this info:

Signaling: (void-variable class)
  eval-current-buffer()
* call-interactively(eval-current-buffer)
  execute-extended-command(nil)
* call-interactively(execute-extended-command)


I've also tried removing all *.elc files and running it without
pre-compiling, but no change.

This is my emacs file:

-----
;; This .emacs file illustrates the minimul 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
"/usr/local/share/emacs/site-lisp/jde/lisp"))
(add-to-list 'load-path (expand-file-name
"/usr/local/share/emacs/site-lisp/semantic"))
(add-to-list 'load-path (expand-file-name
"/usr/local/share/emacs/site-lisp/speedbar"))
(add-to-list 'load-path (expand-file-name
"/usr/local/share/emacs/site-lisp/elib"))
(add-to-list 'load-path (expand-file-name
"/usr/local/share/emacs/site-lisp/eieio"))


;; If you want Emacs to defer loading the JDE until you open a 
;; Java file, edit the following line
;;(setq defer-loading-jde nil)
;; 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 4))

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

;; Include the following only if you want to run
;; bash as your shell.

;; Setup Emacs to run bash as its primary 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 Windows.
(custom-set-variables
 '(jde-enable-abbrev-mode t))
(custom-set-faces)
-----



Any ideas. Thanks,

Oscar

Reply via email to