GNU bug report logs - #30675
Ask the user what to do when shr-make-table: Variable binding depth exceeds max-specpdl-size

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Fri, 2 Mar 2018 02:41:01 UTC

Severity: wishlist

Tags: fixed

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 30675 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 30675 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#30675: Ask the user what to do when shr-make-table: Variable
 binding depth exceeds max-specpdl-size
Date: Fri, 13 Apr 2018 12:29:17 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Fri, 13 Apr 2018 02:27:19 +0200
> Cc: 30675 <at> debbugs.gnu.org
> 
> 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> 
> >>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> >
> > LI> Or perhaps shr should just bind that variable to, like, 10x what it
> > LI> normally is?
> >
> > You're the boss.
> 
> No, I'm not.  Eli is.  :-)

I am?  Well, if I need to give my opinion on this, then blindly
increasing the limit ten-fold is something that'd make me worry about
a potential C stack overflow.  I'd feel much better with a lower
factor, e.g. some value that is just enough to cover this case plus
some slack.  Bonus points for providing a defcustom with the factor,
so that users could change that.

The idea of asking the user whether to increase by N levels sounds OK
to me, provided that its implementation is not out-worldly hard.

Thanks.




This bug report was last modified 7 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.