Windows 98
JDE 2.1.7
NTEmacs 20.7.1

I have enclosed my *Messages* buffer and my .emacs file.

The first few .java files were loaded by the desktop utility.
I then opened a couple more to make sure the error was repeating.

There is about a 10 second delay each time I try to open
a .java file.

This may be a font-lock problem?

Thanks,

Benji

-- 
Benjamin Shults               Office: 301-A Stillwell
Department of Math and CS     mailto:[EMAIL PROTECTED]
Western Carolina University   Voice:  828 227 3825
Cullowhee, NC  28723          FAX:    828 227 7240
         http://www.cs.wcu.edu/~shults/
Fontifying LinkedList.java... (regexps.............)
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size") [2 times]
Fontifying AbstractList.java...
Fontifying AbstractList.java... (regexps.............)
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size") [2 times]
Fontifying MutableContainer.java...
Fontifying MutableContainer.java... (regexps.............)
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size") [2 times]
Fontifying List.java...
Fontifying List.java... (regexps.............)
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size")
Desktop loaded.
Loading i:/.emacs-new-frame...
Loading i:/.emacs-new-frame...done
Loading i:/.emacs-20-at-school-win...done
For information about the GNU Project and its goals, type C-h C-p.
Fontifying *scratch*...
Fontifying *scratch*... (regexps............)
For information about the GNU Project and its goals, type C-h C-p.
Fontifying .emacs...
Fontifying .emacs... (regexps............)
Loading view...
Loading view...done
Fontifying .emacs-20-at-school-win...
Fontifying .emacs-20-at-school-win... (regexps............)
Mark set
Undo!
Mark set
Wrote i:/.emacs-20-at-school-win
Mark set [2 times]
Wrote i:/.emacs-20-at-school-win
Mark set
Quit
Loading iso-transl...
Loading iso-transl...done
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size")
Fontifying AccessProxy.java...
Fontifying AccessProxy.java... (regexps.............)
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size")
Mark set
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size")
Fontifying ArrayIterator.java...
Fontifying ArrayIterator.java... (regexps.............)
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size") [2 times]
Fontifying Predicate.java...
Fontifying Predicate.java... (regexps.............)
File mode specification error: (error "Variable binding depth exceeds 
max-specpdl-size")
Mark set
Quit
GNU Emacs 20.7.1 (i386-*-windows98.2222) of Tue Jun 13 2000 on buffy
;;; I like this font.  If you don't, then comment out this line.
(set-default-font "-*-Terminal-normal-r-*-*-12-90-*-*-c-*-*-oem-")

(display-time)

(setq fill-column 65)                   ; auto-fill will use 70
                                        ; character lines

;;; I like to bind a key to this.
(global-set-key "\C-x\8" 'bury-buffer)

(setq load-path 
      (nconc 
       (list
        (concat (getenv "EMACS_DIR") "/site-lisp/jde-2.1.7")
        (concat (getenv "EMACS_DIR") "/site-lisp/speedbar-0.11")
        (concat (getenv "EMACS_DIR") "/site-lisp/semantic-1.1")
;;      (concat (getenv "EMACS_DIR") "/site-lisp/ilisp-5.9")
        ;; Add paths to other add-on packages here. 
        (concat (getenv "EMACS_DIR") "/site-lisp")
        ) 
       load-path))

(setq ispell-enable-tex-parser t)

(global-font-lock-mode t)

;;; Simple version control system.
(setq back-up-by-copying t)
(setq version-control t)
(setq kept-new-versions 10)
(setq kept-old-versions 10)

;;; Use TAB and space keys to complete in the minibuffer.
(load-library "completion")
(initialize-completions)
;;(require 'complete)
(require 'completer)

;;; JDE

(require 'jde)

;;; C/C++/Java mode stuff:

(setq-default indent-tabs-mode nil)

(defun my-c-mode-common-hook ()
  ;; my customizations for all of c-mode and related modes
  (setq c-basic-offset 2)
  ;; other customizations can go here
  )

(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)

(setq-default dabbrev-case-replace nil)

(require 'cc-mode)
(c-initialize-cc-mode)

;;; Set up ange-ftp.

(require 'ange-ftp)
(setq ange-ftp-ftp-program-name (concat (getenv "EMACS_DIR") "bin/ftp"))

(require 'cl)

;;; Some auto-modes.  You can add more.
(setq auto-mode-alist (append auto-mode-alist
                              '(
                                ("\\.txt$" . auto-fill-mode)
                                ("\\.TXT$" . auto-fill-mode)
                                ("\\.tex$" . auto-fill-mode)
                                ("\\.tex$" . latex-mode)
                                ("\\.TEX$" . auto-fill-mode)
                                ("\\.TEX$" . latex-mode)
                                ("\\.ipr$" . lisp-mode)
                                ("\\.emacs" . lisp-mode)
                                ("\\.C$"  . c++-mode)
                                ("\\.cs$" . c++-mode)
                                ("\\.cc$" . c++-mode)
                                ("\\.icc$" . c++-mode)
                                ("\\.hs$" . c++-mode)
                                ("\\.dpc$" . c++-mode)
                                ("\\.m$" . c++-mode)
                                ("\\.fcm$" . fortran-mode)
                                ("\\.FCM$" . fortran-mode)
                                )))

;;; To activate desktop saving, do M-x desktop-save RET from your home
;;; directory.  You only have to do that once.

(load "desktop")
(desktop-load-default)
(desktop-read)

(setq kill-emacs-query-functions
      (cons (lambda () (yes-or-no-p "Really kill Emacs? "))
            kill-emacs-query-functions))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Personal stuff down here:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(setq user-full-name "Benjamin Shults")

(global-set-key "\C-x\C-a\C-a" 'bps-new-frame)

(defun bps-new-frame ()
  (interactive)
  (load-file (format "%s/.emacs-new-frame" (getenv "HOME"))))

(bps-new-frame)

(require 'gnuserv)
(gnuserv-start)

;;
;; ispell4:
;;
(autoload 'ispell-word "ispell4" 
  "Check spelling of word at or before point" t)
(autoload 'ispell-complete-word "ispell4" 
  "Complete word at or before point" t)
(autoload 'ispell-region "ispell4" 
  "Check spelling of every word in the region" t)
(autoload 'ispell-buffer "ispell4" 
  "Check spelling of every word in the buffer" t)
(setq ispell-command "ispell.exe"
      ispell-look-dictionary (format "%s/etc/ispell4/ispell.words"
                                     (getenv "EMACS_DIR"))
      ispell-look-command "look.exe"
      ispell-command-options
      (list "-d" (format "%s/etc/ispell4/ispell.dict"
                         (getenv "EMACS_DIR")))
      )

;; Standard ML Mode

;;(require 'sml-site)


;;; Time, Calendar, Diary, and Appointments

;;;(add-hook 'diary-hook 'appt-make-list)
;;;(calendar)
;;;(mark-diary-entries)
;;;(diary)

(put 'eval-expression 'disabled nil)
(global-set-key "\C-c\C-l" 'goto-line)
(global-set-key "\C-x\9" 'redraw-display)

;;; Misc

(setq dired-listing-switches "-aglL")
(setq dired-compression-method 'gzip)

(add-hook 'dired-load-hook
          (function (lambda ()
                      (load "dired-x")
                      ;; Set dired-x global variables here.  For example:
                      ;; (setq dired-guess-shell-gnutar "gtar")
                      ;; (setq dired-x-hands-off-my-keys nil)
                      )))
(add-hook 'dired-mode-hook
          (function (lambda ()
                      ;; Set dired-x buffer-local variables here.  For example:
                      ;; (setq dired-omit-files-p t)
                      )))

(put 'setq 'lisp-indent-hook 1)
(put 'when 'lisp-indent-hook 1)
(put 'nconc 'lisp-indent-hook 1)
(put 'setf 'lisp-indent-hook 1)
(put 'concatenate 'lisp-indent-hook 1)
(put 'do 'lisp-indent-hook 2)
(put 'do* 'lisp-indent-hook 2)

;;; Misc autoloads

(autoload 'background "background" "Background Procs" t)

(add-hook 'lisp-mode-hook 'auto-fill-mode)
(add-hook 'text-mode-hook 'auto-fill-mode)

;;; This is Brad Giaccio's indentation customization.
;;;(defconst my-c-style
;;;  '((c-tab-always-indent        . 0)
;;;    (c-basic-offset . 2)
;;;    (c-comment-only-line-offset . 0)
;;;    (c-offsets-alist            . ((statement-block-intro . +)
;;;                                   (substatement-open     . 0)
;;;                                   (block-open            . 0)
;;;                                   (inline-open           . 0)
;;;                                   (label                 . 0)
;;;                                   (statement-cont        . +)
;;;                                   (case-label            . +)
;;;                                   (access-label          . -)
;;;                                   (inclass               . ++)
;;;                                   ))
;;;    )
;;;  "My C Programming Style")
     
;;;;; Customizations for all of c-mode, c++-mode, and objc-mode
;;;(defun my-c-mode-common-hook ()
;;;  (c-add-style "personal" my-c-style t)
;;;  (setq tab-width 2
;;;        ;; this will make sure spaces are used instead of tabs
;;;        indent-tabs-mode nil)
;;;  )
     
;;;(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)

;;;(setq auto-mode-alist
;;;      (append '(("\\.C$"  . c++-mode)
;;;                ("\\.cs$" . c++-mode)
;;;                ("\\.cc$" . c++-mode)
;;;                ("\\.icc$" . c++-mode)
;;;                ("\\.hs$" . c++-mode)
;;;                ("\\.dpc$" . c++-mode)
;;;                ("\\.m$" . c++-mode)
;;;                ("\\.fcm$" . fortran-mode)
;;;                ("\\.FCM$" . fortran-mode))
;;;              auto-mode-alist))


Reply via email to