1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-18 20:00:36 -08:00
emacs/lisp/cedet/semantic
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
..
analyze
bovine Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +02:00
decorate
symref Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +02:00
wisent Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +02:00
analyze.el
bovine.el (compiled-function-p): New function (bug#56648) 2022-08-14 12:30:05 -04:00
chart.el
complete.el CEDET: Try and (re)fix bug#56902, in a better way 2022-08-03 04:51:12 -04:00
ctxt.el
db-debug.el
db-ebrowse.el
db-el.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
db-file.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
db-find.el
db-global.el
db-javascript.el
db-mode.el
db-ref.el
db-typecache.el CEDET: Remove left-over uses of obsolete <class>-child-p predicates 2022-08-02 13:06:51 -04:00
db.el CEDET: Remove left-over uses of obsolete <class>-child-p predicates 2022-08-02 13:06:51 -04:00
debug.el
decorate.el
dep.el
doc.el
ede-grammar.el Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
edit.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
find.el Audit quoting the quote character in doc strings 2022-04-22 16:17:22 +02:00
format.el
fw.el Fix semantic-find-file-noselect binding of recentf-exclude 2022-08-31 12:11:43 +02:00
grammar.el Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
grm-wy-boot.el mode-local: Revert the deprecation of buffer-local overrides 2022-05-22 16:13:17 -04:00
html.el cedet/html.el: Prefer define-mode-local-override 2022-05-22 12:10:47 -04:00
ia-sb.el
ia.el
idle.el Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +02:00
imenu.el ; Fix mistakes in 'declare function' forms 2022-05-14 16:19:12 +03:00
java.el Remove some useless eval-when-compile 2022-07-04 14:56:11 +02:00
lex-spp.el Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +02:00
lex.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
mru-bookmark.el Prefer defvar-keymap in several cases 2022-09-13 15:05:38 +02:00
sb.el
scope.el
senator.el Remove some ancient Emacs compat code 2022-05-18 00:27:52 +02:00
sort.el Fix the final divergent single quote usages in doc strings 2022-05-24 18:48:50 +02:00
symref.el Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +02:00
tag-file.el CEDET: Remove left-over uses of obsolete <class>-child-p predicates 2022-08-02 13:06:51 -04:00
tag-ls.el
tag-write.el
tag.el
texi.el bovine/grammar.el: Prefer define-mode-local-override 2022-05-22 11:22:29 -04:00
util-modes.el Prefer defvar-keymap in several cases 2022-09-13 15:05:38 +02:00
util.el CEDET: Remove left-over uses of obsolete <class>-child-p predicates 2022-08-02 13:06:51 -04:00
wisent.el mode-local: Revert the deprecation of buffer-local overrides 2022-05-22 16:13:17 -04:00