GNU bug report logs -
#17517
Eager macro-expansion failure: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
Previous Next
Reported by: Juanma Barranquero <lekktu <at> gmail.com>
Date: Sat, 17 May 2014 08:17:01 UTC
Severity: normal
Found in version 24.4.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> I just bootstrapped (or in fact, build at all)
Not sure what this means. Is this a "make bootstrap", or is it
something close yet different?
> Wrote c:/Devel/emacs/repo/trunk/lisp/calendar/cal-loaddefs.el
> Eager macro-expansion failure: (error "Lisp nesting exceeds
> `max-lisp-eval-depth'")
Of course, these may be due to simple "infinite recursion" problems
fixed by bootstrapping. But they may also be due to "deep recursion",
in which case increasing max-lisp-eval-depth might help (IIRC I had to
bump this limit when I introduced eager macro-expansion, so it wouldn't
be a big surprise if it needs to be bumped yet a bit higher).
The eager macroexpansion can cause fairly deep recursion, especially
if/when some of the code (e.g. macroexp.el) is not yet byte-compiled.
It shouldn't be deeper than the macroexpansion done by the byte-compiler
(it's basically the exact same macroexpansion in both cases), but
because it happens earlier it's suffers more often of things like
"macroexp.el is not yet byte-compiled".
These macroexpansion failures should only be warnings, so do
they prevent building Emacs?
If you can reproduce them, can you try to bump max-lisp-eval-depth a bit
higher to see if it solves the problem?
Stefan
This bug report was last modified 10 years and 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.