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


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 30675 <at> debbugs.gnu.org
Cc: Katsumi Yamaoka <yamaoka <at> jpl.org>
Subject: bug#30675: Ask the user what to do when shr-make-table: Variable binding depth exceeds max-specpdl-size
Date: Fri, 02 Mar 2018 10:40:07 +0800
Instead of warning the user when this happens

KY> (defun shr-descend (dom)
KY>   ...
KY>     (if (> shr-depth (/ max-specpdl-size 15))
KY> 	(setq shr-warning "Too deeply nested to render properly; consider increasing `max-specpdl-size'")
KY>       else ...))

it should ask the user "Should we try 15 levels deeper? y-n

and if that is still not enough,

it should ask the user "Should we try 25 levels even more deeper? y-n
...

Why?

Because the user is facing a probably one-time bad html message.

He doesn't want to change his .emacs to always let them pass.

He also wants the choice:
no I don't want to go deeper for this promotional coupon.
yes my grandmom sent me this so I want to see it.




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.