From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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 14:32:52 +0200 Message-ID: <87sh7z8ex7.fsf@mouse.gnus.org> References: <877eqwbqvc.fsf@jidanni.org> <87po4n19q0.fsf_-_@jidanni.org> <87bmeoc7e4.fsf@mouse.gnus.org> <87k1tc3r82.fsf@jidanni.org> <87h8ogar2w.fsf@mouse.gnus.org> <83r2nj5uaa.fsf@gnu.org> <87fu3z9vjt.fsf@mouse.gnus.org> <87zi27jo92.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523622752 11336 195.159.176.226 (13 Apr 2018 12:32:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2018 12:32:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30675@debbugs.gnu.org, jidanni@jidanni.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 13 14:32:28 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6xsP-0002mt-KX for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Apr 2018 14:32:25 +0200 Original-Received: from localhost ([::1]:50195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6xuW-0005cB-7R for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Apr 2018 08:34:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6xu3-0005Il-PY for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2018 08:34:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6xty-0003mL-4O for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2018 08:34:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41317) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6xty-0003mC-1G for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2018 08:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f6xtx-0005VD-Rt for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2018 08:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Apr 2018 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30675 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30675-submit@debbugs.gnu.org id=B30675.152362278521072 (code B ref 30675); Fri, 13 Apr 2018 12:34:01 +0000 Original-Received: (at 30675) by debbugs.gnu.org; 13 Apr 2018 12:33:05 +0000 Original-Received: from localhost ([127.0.0.1]:49211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6xt3-0005To-3Y for submit@debbugs.gnu.org; Fri, 13 Apr 2018 08:33:05 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:50365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6xt1-0005Tg-DU for 30675@debbugs.gnu.org; Fri, 13 Apr 2018 08:33:03 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f6xsx-00071o-Bc; Fri, 13 Apr 2018 14:33:01 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6xsr-0008HU-9t; Fri, 13 Apr 2018 14:32:53 +0200 In-Reply-To: <87zi27jo92.fsf@gmail.com> (Noam Postavsky's message of "Fri, 13 Apr 2018 08:15:53 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145256 Archived-At: Noam Postavsky writes: > The default stack size soft ulimit on GNU/Linux seems to be 8MB, Emacs > tries to increase the limit by some fixed amount. It can be set to > unlimited (I wouldn't expect most users to do that though). On macOS, > there seems to be a hard limit of 64MB, so setting to unlimited doesn't > work. I see. > Recent changes to Emacs have caused `read' to use more stack space, so > it's definitely possible to hit the limits when reading a deeply nested > structure (see bugs #27571 and #27779). Not sure how likely it is when > reading deeply nested HTML, but I'm sure if you increase > max-specpdl-size enough with the right HTML page you can manage it :) Yeah, and that makes me want to query the user even less. Emacs: "Do this thing you have no idea what is?" User: "Yes." Emacs: *CRASH*. So perhaps we should just leave things be and not increase the variable and not prompt the user... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no