1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/mh-e
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
..
ChangeLog.1 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.2 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
mh-acros.el Remove no-byte-compile cookie from some libraries 2022-08-08 11:50:33 +02:00
mh-alias.el Remove some XEmacs compat code from mh-alias.el 2022-08-08 18:18:50 +02:00
mh-buffers.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-comp.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-e.el Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
mh-folder.el Make mh-colors-available-p obsolete 2022-08-24 06:38:36 +02:00
mh-funcs.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
mh-gnus.el ; Unconditionally require built-in libraries 2022-08-08 18:18:50 +02:00
mh-identity.el Advertise obsolete library pgg.el less 2022-08-16 15:29:30 +02:00
mh-inc.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-junk.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-letter.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-limit.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-mime.el Advertise obsolete library pgg.el less 2022-08-16 15:29:30 +02:00
mh-print.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-scan.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-search.el ; Unconditionally require built-in libraries 2022-08-08 18:18:50 +02:00
mh-seq.el Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +02:00
mh-show.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-speed.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-thread.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-tool-bar.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00
mh-utils.el Make mh-colors-available-p obsolete 2022-08-24 06:38:36 +02:00
mh-xface.el Clean up some local variable sections 2022-08-08 11:15:33 +02:00