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
