Subject: Re: bug#59426: 29.0.50; [tree-sitter] Some functions exceed maximum recursion limit

From: Stefan Kangas <[email-masked]>
Date: Sun, 20 Nov 2022 23:38:01 -0800

Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <[email-masked]> writes:

> We _used_ to have max-specpdl-size, which would act as a limit if the
> recursion was surrounded by specbind.
>
> But it was deleted in Emacs 29.  Maybe it should be brought back, for
> this and other deeply recursive C functions?

Copying in Mattias.