I just moved up to emacs 20.3.1 from emacs 19, and I can no longer get
jde to load correctly.  My environment is as follows:

platform - Win95
jde - v2.1.5
emacs - v20.3.1
cc-mode - v5.25 (byte compiled)

I tried starting emacs with the debug and init flags.  It didn't seem to
recognize the debug flag.  Here's the output from the "Messages" buffer.

------
(K:\EMACS-~1.1\BIN\EMACS.EXE -debug -init)
Loading k:/emacs-20.3.1/site-lisp/html/html32-mode.el (source)...
Loading backquote...
Loading backquote...done
Loading k:/emacs-20.3.1/site-lisp/html/html32-mode.el (source)...done
Loading cus-face (source)...
Loading cus-face (source)...done
Loading wid-browse (source)...
Loading wid-browse (source)...done
Loading easymenu (source)...
Loading easymenu (source)...done
Error in init file: error: "Autoloading failed to define function
easy-menu-do-define"
Unknown option `-debug'
-------

And here's my .emacs file.

-------
(setq inhibit-startup-message t)
(setq auto-save-interval 5000)
(setq-default tab-width 1)
(setq max-lisp-eval-depth 1000)

(defun tab-hook-fn()
  (setq tab-width 4)
  (setq indent-tabs-mode nil)
)

(setq load-path
      (nconc '("k:/emacs-20.3.1/site-lisp"
               "k:/emacs-20.3.1/site-lisp/cc-mode-5.25"
               "k:/emacs-20.3.1/site-lisp/custom-1.9962"
               "k:/emacs-20.3.1/site-lisp/jde-2.1.5"
               )
             load-path))

(load-file "k:/emacs-20.3.1/site-lisp/html/html32-mode.el")

(require 'jde)

(put 'downcase-region 'disabled nil)

;; 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)

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

;; Setup Emacs to run bash as its primary shell.
(setq binary-process-input t)
(setq shell-file-name "bash")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq w32-quote-process-args ?\") ;; Use Cygnus quoting rules.

;; Configure Emacs to use the default browser on your system
;; to display the JDE documentation.
(defvar shell-execute-helper "shelex.exe")
(defun shell-execute-url (url &optional new-window)
     "Invoke the shell-execute-helper program to call ShellExecute and
launch
     or re-direct a web browser on the specified url."
        (interactive "sURL: ")
        (call-process shell-execute-helper nil nil nil url))
(setq browse-url-browser-function 'shell-execute-url)
-------

Thanks for any help.  I do not belong to the mailing list, so please
reply privately as well to [EMAIL PROTECTED]

Steve Bray

Reply via email to