1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00
emacs/doc/misc
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
..
auth.texi auth-source: Fix wrong-type-argument when searching secret services 2022-08-22 16:56:57 +02:00
autotype.texi Make quickurl.el obsolete (part 2/2) 2022-07-28 12:47:55 +02:00
bovine.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
calc.texi Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
cc-mode.texi CC Mode: New alignment function c-lineup-argcont-+ 2022-04-23 20:02:49 +00:00
ChangeLog.1 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl.texi Move generalized variable `substring' doc to elisp manual 2022-08-23 20:28:25 +02:00
dbus.texi Remove mentions of GNOME MediaKeys from dbus documentation examples 2022-06-07 15:44:05 +08:00
dired-x.texi Move dired-guess commands from dired-x to dired 2022-08-17 16:21:09 +02:00
doclicense.texi
ebrowse.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ede.texi Doc fixes: don't mention EFS 2022-07-28 10:48:38 +02:00
ediff.texi Make some versions in docs match package version 2022-09-03 01:14:12 +02:00
edt.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
efaq-w32.texi Delete many references to Emacs 23 or older from docs 2022-08-13 12:57:44 +02:00
efaq.texi Merge from origin/emacs-28 2022-09-06 06:30:27 +02:00
eieio.texi * doc/misc/eieio.texi (Introduction, Generics): Remove outdated limits 2022-09-19 07:39:29 -04:00
emacs-gnutls.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-mime.texi Don't advertise obsolete library html2text.el 2022-08-14 23:46:33 +02:00
epa.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
erc.texi * doc/misc/erc.texi (Connecting): Fix typo. 2022-07-01 19:17:56 +02:00
ert.texi Improve ert-test-erts-file documentation 2022-07-09 11:47:52 +02:00
eshell.texi Add support for more kinds of redirect operators in Eshell 2022-09-04 15:15:01 -07:00
eudc.texi * eudc.texi: Unquote setopt option names 2022-07-19 11:05:52 -04:00
eww.texi Merge from origin/emacs-28 2022-06-21 06:30:25 +02:00
flymake.texi Make a flymake.texi code example more resilient 2022-09-10 06:52:39 +02:00
forms.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus-coding.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus-faq.texi Advertise obsolete library pgg.el less 2022-08-16 15:29:30 +02:00
gnus.texi ; Minor doc fix in gnus.texi 2022-09-06 13:44:40 +02:00
gpl.texi
htmlfontify.texi Merge from origin/emacs-28 2022-08-23 06:30:36 +02:00
idlwave.texi Merge from origin/emacs-28 2022-09-08 23:35:04 +02:00
ido.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
info.texi Allow searching for regexps with a prefix 2022-04-21 17:05:23 +02:00
mairix-el.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
Makefile.in Speed up Org to Texinfo generation 2022-06-16 11:06:29 +03:00
message.texi Advertise obsolete library pgg.el less 2022-08-16 15:29:30 +02:00
mh-e.texi Merge from origin/emacs-28 2022-09-08 23:35:04 +02:00
modus-themes.org Fix typos in modus-themes.org 2022-08-20 09:22:50 +03:00
newsticker.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nxml-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
octave-mode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-setup.org ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org.org Merge from origin/emacs-28 2022-09-16 16:27:37 +02:00
pcl-cvs.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pgg.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
rcirc.texi Improve rcirc's CertFP documentation 2022-07-02 08:27:01 +02:00
reftex.texi Don't mention very old Emacs versions in docs 2022-09-06 14:08:27 +02:00
remember.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
sasl.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sc.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sem-user.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
semantic.texi * doc/misc/semantic.texi: Delete unused macro. 2022-09-06 13:50:07 +02:00
ses.texi SES with case insensitive cell names for jumping. 2022-04-04 19:42:07 +02:00
sieve.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
smtpmail.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
speedbar.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
srecode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2022-08-25 18:30:11 -07:00
todo-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tramp.texi Improve Tramp's manual 2022-08-20 08:44:57 +02:00
trampver.texi Adapt Tramp version (don't merge) 2022-07-13 13:21:45 +02:00
transient.texi * doc/misc/transient.texi: Update to transient v0.3.7-156-ga5562cb 2022-08-06 16:03:51 +02:00
url.texi Make "rlogin" method obsolete in url*.el 2022-09-03 07:23:08 +02:00
vhdl-mode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
vip.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
viper.texi Merge from origin/emacs-28 2022-09-08 23:35:04 +02:00
vtable.texi * doc/misc/vtable.texi (Commands): Fix typo. (Bug#56899) 2022-08-03 01:20:51 +02:00
widget.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
wisent.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
woman.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00