I've been using JDE for a long while (thank for the 
great environment!) but on unix instead of NT.  I've 
recently changed jobs and find that I can't do without
NT, so I'm bringing emacs with me...

I need to find the right mix of versions of gnu-emacs,
cc-mode, and jde.  Right now I'm running into the
long-documented problem where the execution of 
"normal-mode" in emacs (when one visits a *.java
file) returns the following error...

Error in init file: error: 
        "Lisp nesting exceeds max-lisp-eval-depth"

Unfortunately, I'm already using cc-mode 5.25, and
the jde troubleshooting page's suggested remedy
is to upgrade to 5.20 or greater.  So far I've 
tried gnu-emacs 2.3.1 and 2.3.8.1.

I'm running NT4(sp4), and JDE 2.1.5.  I'm not getting a
backtrace from this message.  Any suggestions?

BEGIN _emacs 

(setq load-path (cons (expand-file-name "/pohl/cc-mode-5.25/") load-path))
(setq load-path (cons (expand-file-name "/pohl/jde/jde-2.1.5/") load-path))
(require 'jde)
(global-set-key [?\C-h] 'delete-backward-char)
(global-set-key [?\C-x ?h] 'help-command)
(global-set-key [f1] 'jde-compile)
(global-set-key [f2] 'jde-run)
(global-set-key [f3] 'jde-db)
(global-set-key [f7] 'replace-string)
(global-set-key [f8] 'indent-region)

(global-set-key "\C-cd" (current-time-string))
(require 'ange-ftp)

(defun my-c-mode-common-hook ()
  (setq c-basic-offset 3)  )
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)

; syntax colors that work with a grey16 
; (very dark grey, but not black) background
(set-background-color "grey16")
(set-foreground-color "wheat")
(set-cursor-color "magenta")
(set-face-foreground 'font-lock-comment-face "IndianRed1")
(set-face-foreground 'font-lock-keyword-face "skyblue1")
(set-face-foreground 'font-lock-function-name-face "DeepSkyBlue1")
(set-face-foreground 'font-lock-type-face "springgreen")(
(set-face-foreground 'font-lock-variable-name-face "yellow1")
(set-face-foreground 'font-lock-string-face "tan1")
(set-face-background 'region "darkslategrey")
(menu-bar-mode 'nil)
(global-font-lock-mode)
(column-number-mode 't)

Reply via email to