bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36216: 27.0.50; Variable binding depth exceeds max-specpld-size duri


From: Juanma Barranquero
Subject: bug#36216: 27.0.50; Variable binding depth exceeds max-specpld-size during bootstrap
Date: Sun, 16 Jun 2019 14:01:22 +0200

On Sun, Jun 16, 2019 at 7:57 AM Juanma Barranquero <lekktu@gmail.com> wrote:

> I wonder if it wouldn't just make sense to borrow the same trick
> loadup.el uses with pcase.el to disable eager macroexpansion, i.e.,
> something like

The idea above doesn't work, it breaks bootstraping while compiling startup.el.

So, back to the beginning. This fixes the reported problem:


diff --git i/lisp/loadup.el w/lisp/loadup.el
index 67e8aa7d40..ca0babd6ed 100644
--- i/lisp/loadup.el
+++ w/lisp/loadup.el
@@ -105,4 +105,8 @@
       ;; We'll probably overflow the pure space.
       (setq purify-flag nil)
+      ;; Set max-specpdl-size to a larger value to avoid a
+      ;; macroexpansion error when loading the cl-generic.el
+      ;; source file (bug#36216).
+      (setq max-specpdl-size 1450)
       ;; Value of max-lisp-eval-depth when compiling initially.

       ;; During bootstrapping the byte-compiler is run interpreted





reply via email to

[Prev in Thread] Current Thread [Next in Thread]