bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30675: Ask the user what to do when shr-make-table: Variable binding


From: Lars Ingebrigtsen
Subject: bug#30675: Ask the user what to do when shr-make-table: Variable binding depth exceeds max-specpdl-size
Date: Fri, 13 Apr 2018 17:34:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Which probably means ten-fold increase is too much.  Would increasing
> the limit twice fix this problem?  If so, then let's do that in
> shr.el.

I'm thinking that any increase might be unsafe, and that we should just
leave the variable be.  We don't want to crash an Emacs where the user
has already increased the limit.

> Because there's a possibility of infinite recursion.  So the question
> actually boils down to "how much do you trust the code which caused
> this?"  And I'm guessing the answer will tend to be NO with each
> additional prompt from the same command.

That's true.  But if there's a chance that Emacs may crash by the user
holding down `y' a bit, then that's no fun, either...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]