Mattias Engdegård
60102016e4
Abolish max-specpdl-size (bug#57911)
...
The max-lisp-eval-depth limit is sufficient to prevent unbounded stack
growth including the specbind stack; simplify matters for the user by
not having them to worry about two different limits. This change
turns max-specpdl-size into a harmless variable with no effects,
to keep existing code happy.
* lisp/subr.el (max-specpdl-size):
Define as an ordinary (but obsolete) dynamic variable.
* admin/grammars/Makefile.in:
* doc/lispintro/emacs-lisp-intro.texi (Loops & Recursion):
* doc/lispref/control.texi (Cleanups):
* doc/lispref/edebug.texi (Checking Whether to Stop):
* doc/lispref/eval.texi (Eval):
* doc/lispref/variables.texi (Local Variables):
* doc/misc/calc.texi (Recursion Depth):
Update documentation.
* etc/NEWS: Announce.
* src/eval.c
(FletX): Use safe iteration to guard against circular bindings list.
(syms_of_eval): Remove old max-specpdl-size definition.
(init_eval_once, restore_stack_limits, call_debugger)
(signal_or_quit, grow_specpdl_allocation):
* leim/Makefile.in:
* lisp/Makefile.in:
* lisp/calc/calc-stuff.el (calc-more-recursion-depth)
(calc-less-recursion-depth):
* lisp/calc/calc.el (calc-do):
* lisp/cedet/semantic/ede-grammar.el (ede-proj-makefile-insert-rules):
* lisp/cedet/semantic/grammar.el (semantic-grammar-batch-build-one-package):
* lisp/cus-start.el (standard):
* lisp/emacs-lisp/comp.el (comp--native-compile):
* lisp/emacs-lisp/edebug.el (edebug-max-depth):
(edebug-read-and-maybe-wrap-form, edebug-default-enter):
* lisp/emacs-lisp/regexp-opt.el (regexp-opt):
* lisp/eshell/esh-mode.el (eshell-mode):
* lisp/loadup.el (max-specpdl-size):
* lisp/mh-e/mh-e.el (mh-invisible-headers):
* lisp/net/shr.el (shr-insert-document, shr-descend):
* lisp/play/hanoi.el (hanoi-internal):
* lisp/progmodes/cperl-mode.el:
* src/fileio.c (Fdo_auto_save):
Remove references to and modifications of max-specpdl-size.
2022-09-19 19:30:03 +02:00
..
2022-09-19 19:30:03 +02:00
2022-09-09 11:27:30 +02:00
2022-09-19 19:30:03 +02:00
2022-09-19 19:30:03 +02:00
2022-09-01 11:12:06 +02:00
2022-09-09 11:27:30 +02:00
2022-09-19 19:30:03 +02:00
2022-09-13 15:05:38 +02:00
2022-09-19 11:39:03 +02:00
2022-09-17 09:51:22 +03:00
2022-09-15 09:42:53 +02:00
2022-09-09 11:27:30 +02:00
2022-09-09 11:27:30 +02:00
2022-09-19 19:30:03 +02:00
2022-09-19 19:30:03 +02:00
2022-08-09 22:44:21 +02:00
2022-09-09 11:27:30 +02:00
2022-09-05 06:30:32 +02:00
2022-09-19 19:30:03 +02:00
2022-09-19 19:30:03 +02:00
2022-09-14 06:25:11 +00:00
2022-09-19 16:02:28 +02:00
2022-09-09 11:27:30 +02:00
2022-09-17 17:57:56 -07:00
2022-09-15 11:27:57 +02:00
2022-09-09 11:27:30 +02:00
2022-08-03 16:18:00 +02:00
2022-09-09 11:27:30 +02:00
2022-08-10 11:21:24 +02:00
2022-08-22 16:56:57 +02:00
2022-08-21 17:28:14 +02:00
2022-08-17 20:11:25 +03:00
2022-07-23 10:32:50 +03:00
2022-09-19 09:43:05 +02:00
2022-07-21 09:23:20 +02:00
2022-09-09 11:27:30 +02:00
2022-07-28 14:39:38 +02:00
2022-07-19 14:13:25 +02:00
2022-08-08 14:23:29 +02:00
2022-09-02 15:11:50 +02:00
2022-09-18 14:49:27 +02:00
2022-08-04 17:03:14 +02:00
2022-09-01 18:34:45 -07:00
2022-09-19 19:30:03 +02:00
2022-09-11 13:28:38 +02:00
2022-09-11 13:28:38 +02:00
2022-08-10 15:31:59 +03:00
2022-08-03 11:41:43 +02:00
2022-09-08 02:48:46 +02:00
2022-08-17 16:21:09 +02:00
2022-09-09 11:27:30 +02:00
2022-09-08 10:14:10 +03:00
2022-09-13 18:19:26 +02:00
2022-08-30 19:35:25 +02:00
2022-09-09 11:27:30 +02:00
2022-09-08 14:53:00 +02:00
2022-08-19 13:41:31 +02:00
2022-08-23 12:22:42 +02:00
2022-08-23 12:22:42 +02:00
2022-08-05 11:47:05 +02:00
2022-09-19 09:43:05 +02:00
2022-09-13 11:06:40 +02:00
2022-09-13 11:06:40 +02:00
2022-08-23 04:54:57 +02:00
2022-08-01 01:17:16 -07:00
2022-08-08 21:33:24 +02:00
2022-09-09 11:27:30 +02:00
2022-09-06 12:24:32 +02:00
2022-09-16 17:23:59 +02:00
2022-09-15 09:42:53 +02:00
2022-09-09 11:27:30 +02:00
2022-08-04 12:35:24 +02:00
2022-08-30 19:09:00 +03:00
2022-09-06 12:54:42 +02:00
2022-08-12 15:08:19 +02:00
2022-07-28 15:32:42 +02:00
2022-08-23 04:54:57 +02:00
2022-09-19 06:31:49 +02:00
2022-08-15 21:15:42 -07:00
2022-09-09 11:27:30 +02:00
2022-09-16 13:38:09 +02:00
2022-07-22 22:43:38 +02:00
2022-09-13 18:26:11 +02:00
2022-08-09 13:20:00 +02:00
2022-09-09 11:27:30 +02:00
2022-08-09 21:58:00 +02:00
2022-08-09 18:15:56 +02:00
2022-08-09 18:15:56 +02:00
2022-09-07 23:38:55 +02:00
2022-09-06 12:24:32 +02:00
2022-09-11 12:59:02 +02:00
2022-09-16 13:18:53 +02:00
2022-09-16 11:03:42 +02:00
2022-09-13 15:05:38 +02:00
2022-08-27 15:44:12 +02:00
2022-09-08 11:48:33 +03:00
2022-09-13 15:05:38 +02:00
2022-09-06 17:29:34 -04:00
2022-08-02 14:29:43 +02:00
2022-07-31 11:29:52 +02:00
2022-09-16 13:23:34 +02:00
2022-08-25 20:03:47 +02:00
2022-09-03 10:54:50 -04:00
2022-09-19 19:30:03 +02:00
2022-07-31 11:01:57 +02:00
2022-09-19 19:30:03 +02:00
2022-08-26 13:12:28 +02:00
2022-07-20 09:27:30 +02:00
2022-09-02 14:51:27 +02:00
2022-09-10 11:48:11 +03:00
2022-07-26 14:23:30 +02:00
2022-08-22 19:22:33 +02:00
2022-09-09 11:27:30 +02:00
2022-09-18 19:09:54 +03:00
2022-09-19 16:02:28 +02:00
2022-09-04 16:29:06 +02:00
2022-09-14 21:58:04 +02:00
2022-09-14 21:58:04 +02:00
2022-09-14 21:58:04 +02:00
2022-09-14 21:58:04 +02:00
2022-09-14 21:58:04 +02:00
2022-09-14 21:58:04 +02:00
2022-09-14 21:58:04 +02:00
2022-07-23 15:00:34 +08:00
2022-09-13 11:06:40 +02:00
2022-09-13 15:05:38 +02:00
2022-09-15 09:17:30 +02:00
2022-08-13 06:30:27 +02:00
2022-08-29 12:05:02 +02:00
2022-08-23 04:54:57 +02:00
2022-09-09 11:27:30 +02:00
2022-09-13 15:05:38 +02:00
2022-08-05 12:28:59 +02:00
2022-08-13 17:49:42 +08:00
2022-09-06 06:30:27 +02:00
2022-09-11 12:59:02 +02:00
2022-09-19 16:55:55 +02:00
2022-09-12 13:09:23 +02:00
2022-08-29 16:52:07 +03:00
2022-09-13 15:05:38 +02:00
2022-09-19 19:30:03 +02:00
2022-08-30 17:55:03 -04:00
2022-09-14 16:03:50 -07:00
2022-09-13 11:06:40 +02:00
2022-08-01 01:17:16 -07:00
2022-09-09 11:27:30 +02:00
2022-08-12 15:54:55 +02:00
2022-09-13 18:25:21 +02:00
2022-07-20 09:27:30 +02:00
2022-08-07 00:28:18 +02:00
2022-08-04 11:39:23 +02:00
2022-08-04 11:03:10 +02:00
2022-08-19 18:05:51 +02:00
2022-08-24 13:39:41 +02:00
2022-09-10 08:20:31 +02:00
2022-09-11 13:46:30 +02:00
2022-09-13 15:05:38 +02:00
2022-09-13 15:05:38 +02:00
2022-07-20 22:38:01 +02:00
2022-09-14 16:03:50 -07:00
2022-09-09 11:27:30 +02:00
2022-08-09 22:28:08 +02:00
2022-08-08 14:23:29 +02:00
2022-09-14 10:23:45 +02:00
2022-07-21 09:19:14 +08:00