Have you compiled cedet? I don't think you would an eval-if-compile if
your stack-trace if you had.

Regardless, it looks like you might have a buggy regexp-opt.el. Does
evaluating (regexp-opt nil t) return "", or does it freeze emacs?

Suraj

On 5/25/05, Charles Curley <[EMAIL PROTECTED]> wrote:
> I just pulled in JDEE using Artur Hefczyc's install-jde script. I used
> options -vs, so I have the most recent stable versions of eveything.
> 
> I have two .emacs files, my usual one, and a bare naked jdee only
> one. I get the same problem regardless of which I use. The latter is
> reproduced below.
> 
> --------------------------------------------------
> ;; Begin JDEE stuff. Heavily swiped from http://jdee.sunsite.dk/_emacs_jde
> 
> ;; Set the debug option to enable a backtrace when a problem occurs.
> (setq debug-on-error t)
> 
> (add-to-list 'load-path (expand-file-name ".emacs.d/site-lisp/jde/lisp"))
> (add-to-list 'load-path (expand-file-name ".emacs.d/site-lisp/cedet/common"))
> ;; Initialize CEDET.
> (load-file (expand-file-name ".emacs.d/site-lisp/cedet/common/cedet.el"))
> (add-to-list 'load-path (expand-file-name ".emacs.d/site-lisp/elib"))
> 
> 
> ;; 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))
> (require 'jde)
> 
> ;; End JDEE stuff.
> --------------------------------------------------
> 
> I walk through the setup manually (c-x c-e on each line) and I get the
> following debugger buffer when I execute "(require 'jde)" (and JDE
> never loads):
> 
> --------------------------------------------------
> Debugger entered--Lisp error: (error "Variable binding depth exceeds 
> max-specpdl-size")
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
> 
> <lots of redundant messages deleted>
> 
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t)
>   regexp-opt(nil t)
>   (let* ((kv ...) (kf ...) (kv-depth ...) (kf-depth ...)) (\` (...)))
>   (progn (let* (... ... ... ...) (\` ...)))
>   (eval-when-compile (let* (... ... ... ...) (\` ...)))
>   (defconst semantic-fw-font-lock-keywords (eval-when-compile (let* ... ...)) 
> "Highlighted Semantic keywords.")
>   eval-buffer(#<buffer  *load*<3>> nil "semantic-fw" nil t)
>   
> load-with-code-conversion("/home/ccurley/.emacs.d/site-lisp/cedet/semantic/semantic-fw.el"
>  "semantic-fw" nil t)
>   require(semantic-fw)
>   eval-buffer(#<buffer  *load*<2>> nil "semantic-load" nil t)
>   
> load-with-code-conversion("/home/ccurley/.emacs.d/site-lisp/cedet/semantic/semantic-load.el"
>  "semantic-load" nil t)
>   require(semantic-load)
>   eval-buffer(#<buffer  *load*> nil "jde" nil t)
>   
> load-with-code-conversion("/home/ccurley/.emacs.d/site-lisp/jde/lisp/jde.el" 
> "jde" nil t)
>   require(jde)
>   eval((require (quote jde)))
>   eval-last-sexp-1(nil)
>   eval-last-sexp(nil)
>   call-interactively(eval-last-sexp)
> --------------------------------------------------
> 
> I get this even when I manually set max-specpdl-size to 50000.
> 
> Platform: Fedora Core 3 Linux.
> 
> Emacs: GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) 
> of 2005-02-04 on bugs.build.redhat.com
> 
> JDEE version: probably 2.3.5, or whatever is the latest
> stable.
> 
> --------------------------------------------------
> ;;; jde.el -- Integrated Development Environment for Java.
> ;; $Revision: 1.357 $ $Date: 2004/12/13 05:55:46 $
> 
> ...
> (defconst jde-version "2.3.5"
>   "JDE version number.")
> --------------------------------------------------
> 
> CEDET is version 2.0beta3.
> 
> --
> 
> Charles Curley                  /"\    ASCII Ribbon Campaign
> Looking for fine software       \ /    Respect for open standards
> and/or writing?                  X     No HTML/RTF in email
> http://www.charlescurley.com    / \    No M$ Word docs in email
> 
> Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
> 
> 
>

Reply via email to