Thanks. That works. Another user recommended setting it to 20, which worked equally well in this case.
Paul, would it be possible to have JDEE could set this when running under Emacs 21 and newer so users don't have to put this in their .emacs file? recursive-load-depth-limit is an ordinary variable, so it's not customizable. I suspect I'm not the only one who's going to run into this. If JDEE can't set it automatically, that's fine... maybe something for the troubleshooting doc? Of course if users follow the install instructions and pre byte-compile the .el files with make, they wouldn't run into this most likely. So maybe not worth wasting any more time on it.... Talking myself in circles... Troy -----Original Message----- From: Karl Kedrovsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 1:04 PM To: Troy Noble; '[EMAIL PROTECTED]' Subject: Re: Emacs 21.1 with JDE 2.2.8 : Recursive load suspected. Try putting the following in your .emacs: (setq recursive-load-depth-limit nil) This will set the recursive load limit to "unlimited". Out of the box, emacs 21 has this set to 10. On Tuesday 20 November 2001 12:12 pm, Troy Noble wrote: > I'm not really stuck, just wanted to report the problem, and didn't want to > send > mail to Paul or Eric directly. Found a strange interaction with > semantic-1.4beta9 > and Emacs 21.1. It also appears to be there in semantic-1.4beta12 unless > I'm mistaken. > > The problem occurs at load time when either semantic-ctxt.el or > semantic-imenu.el are loaded, and the message reported is a > "Recursive load suspected" when loading semanticdb.el and running > from sources (.el not .elc). If I pre-compile them into .elc files, > I don't see the problem. > > The simple-minded fix I tried was commenting out the following in > both semantic-ctxt.el and semantic-imenu.el > > (eval-when-compile (require 'semanticdb)) > > If those are needed (there didn't seem to be an adverse affects when > I comment them out) might need to bracket them with some sort of > (when (not EMACS21) (eval-when-compile (require 'semanticdb)). > > Or maybe it's a bug in Emacs 21? This does not occur with Emacs > 20.7.1, but I recall someone mentioning they had "fixed" Emacs 21 > to detect recursive loading behavior ;-> > > As I said, I'm not stuck. I have at least two work arounds (byte compile > the files and restart emacs, or comment out those eval-when-compile > lines). Another user had reported this back in July. I think they > were seeing the same issue. > > http://www.mail-archive.com/[email protected]/msg01815.html > > My versions are Emacs 21.1.1 "buffy" on Win2k, elib-1.0, > eieio0.17beta2, speedbar-0.13a, semantic-1.4beta9, jde-2.2.8. > Haven't tried it with the latest JDEE beta yet... but since it > appears to be in semantic, don't know that it would make a > difference what JDEE version I'm using. > > Here's the *Messages* buffer when the failure occurs: > > (C:\emacs-21.1\bin\emacs.exe) > Loading c:\home\tnoble/.emacs-options... > Loading regexp-opt...done > Loading my-color-theme...done > Loading time... > Loading image...done > Loading time...done > Loading jde... > Defining colors... > Loading easy-mmode...done > > > An error has occurred while loading `c:/home/tnoble/.emacs': > > error: "Recursive load suspected", > "c:/emacs-21.1/lisp/emacs-lisp/cl-macs.elc", > "c:/home/tnoble/site-lisp/eieio-0.17beta2/eieio.elc", > "c:/home/tnoble/site-lisp/eieio-0.17beta2/eieio-base.elc", > "c:/home/tnoble/site-lisp/semantic-1.4beta9/semanticdb.el", > "c:/home/tnoble/site-lisp/semantic-1.4beta9/semantic-ctxt.el", > "c:/home/tnoble/site-lisp/semantic-1.4beta9/senator.el", > "c:/home/tnoble/site-lisp/semantic-1.4beta9/semantic-bnf.el", > "c:/home/tnoble/site-lisp/jde-2.2.8/lisp/jde-parse.elc", > "c:/home/tnoble/site-lisp/jde-2.2.8/lisp/jde-db.elc", > "c:/home/tnoble/site-lisp/jde-2.2.8/lisp/jde.elc", > "c:/home/tnoble/.emacs-options", "c:/home/tnoble/.emacs" > > To ensure normal operation, you should investigate the cause > of the error in your initialization file and remove it. Start > Emacs with the `--debug-init' option to view a complete error > backtrace > Loading places from ~\.emacs-places... > Loading places from c:/home/tnoble/.emacs-places...done > Loading semantic-el (source)...done > > Thanks, Troy
