[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 01:49:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> 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
Or perhaps shr should just bind that variable to, like, 10x what it
normally is?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no