Title: problem with XEmacs for WinNT and JDE 2.2.3

 I'm running JDE 2.2.3 (this problem also manifested with JDE 2.2.2) on Windows NT 4.0 (SP5) with XEmacs version 21.1 (patch 9).  I use the same .emacs file with NT/Emacs 20.7.1 and everything works properly.

 The problem occurs at startup.  Here's the contents of the *Warnings* buffer:

(1) (initialization/error) An error has occurred while loading ~\.emacs:

End of stream: "internal input stream"

To ensure normal operation, you should investigate the cause of the error
in your initialization file and remove it.  Use the `-debug-init' option
to XEmacs to view a complete error backtrace.

 When I startup with -debug-init, I get the following backtrace:

Signaling: (end-of-file "internal input stream")
  load-internal("compile" nil t nil binary)
  load("compile" nil t nil)
  require(compile)
  load-internal("jde-make" nil t nil undecided)
  load("jde-make" nil t nil)
  require(jde-make)
  load-internal("jde" nil t nil undecided)
  load("jde" nil t nil)
  require(jde)
  load-internal("~\\.emacs" t t t undecided)
  load("~\\.emacs" t t t)
  load-user-init-file("")
  load-init-file()
  command-line()
  normal-top-level()

 My .emacs file consists of:

(defun my-jde-mode-hook()
  (c-set-offset 'substatement-open 0)
  (setq tab-width 4)
)
(add-hook 'jde-mode-hook 'my-jde-mode-hook)

(setq auto-mode-alist (cons '("\\.cgi$" . perl-mode) auto-mode-alist))

(setq printer-name "//EXCALIBUR//LaserJet8100")

(cond ((fboundp 'global-font-lock-mode)
       ;; Turn on font-lock in all modes that support it
       (global-font-lock-mode t)
       ;; Maximum colors
       (setq font-lock-maximum-decoration t)))

(setq load-path
  (nconc
     '(
        "~/emacs/site"
        ;; Add more directories here:
      )
      load-path))

(add-to-list 'load-path (expand-file-name "~/emacs/site/jde-2.2.3/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-1.0"))

(require 'jde)
(custom-set-variables
 '(jde-gen-k&r nil)
 '(jde-javadoc-see-tag-template nil)
 '(jde-global-classpath nil)
 '(jde-enable-abbrev-mode nil))
(custom-set-faces)

---
Rafe Colburn
Development Manager, Consumer Services
Alerts.com

Reply via email to