From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#55414: 29.0.50; Byte compilation error for the modus-themes Date: Sun, 22 May 2022 13:10:20 +0000 Message-ID: References: <87lev296hl.fsf@protesilaos.com> <87zgjihlmw.fsf@gnus.org> <83zgjhiv8l.fsf@gnu.org> <83wnelirxq.fsf@gnu.org> <83tu9pinsj.fsf@gnu.org> <87tu9p8r7d.fsf@protesilaos.com> <83r14tii8m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11617"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Protesilaos Stavrou , larsi@gnus.org, 55414@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 22 15:11:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nslMU-0002pd-KC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 May 2022 15:11:10 +0200 Original-Received: from localhost ([::1]:57092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nslMT-0003NB-CG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 May 2022 09:11:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslMM-0003Me-TF for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nslMM-0002Zu-KH for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nslMM-0005w5-GV for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 13:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55414 X-GNU-PR-Package: emacs Original-Received: via spool by 55414-submit@debbugs.gnu.org id=B55414.165322503422784 (code B ref 55414); Sun, 22 May 2022 13:11:02 +0000 Original-Received: (at 55414) by debbugs.gnu.org; 22 May 2022 13:10:34 +0000 Original-Received: from localhost ([127.0.0.1]:43939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nslLt-0005vP-MU for submit@debbugs.gnu.org; Sun, 22 May 2022 09:10:33 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:53958 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1nslLr-0005vA-Kc for 55414@debbugs.gnu.org; Sun, 22 May 2022 09:10:32 -0400 Original-Received: (qmail 18873 invoked by uid 3782); 22 May 2022 13:10:25 -0000 Original-Received: from acm.muc.de (p4fe15ce5.dip0.t-ipconnect.de [79.225.92.229]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 22 May 2022 15:10:25 +0200 Original-Received: (qmail 15583 invoked by uid 1000); 22 May 2022 13:10:20 -0000 Content-Disposition: inline In-Reply-To: <83r14tii8m.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232898 Archived-At: Hello, Eli, Lars, and Prot. On Mon, May 16, 2022 at 18:56:25 +0300, Eli Zaretskii wrote: > > From: Protesilaos Stavrou > > Cc: larsi@gnus.org, 55414@debbugs.gnu.org > > Date: Mon, 16 May 2022 17:52:54 +0300 > > >> In recent months I've increased max-specpdl-size to 5000 in > > >> emacs-lisp/comp.el, and also to 5000 (default is 2500) in > > >> leim/Makefile.in for the generation of leim-list.el. Also > > >> max-specpdl-size to 5000 in admin/grammars/Makefile.in. > > > What value does modus-themes need? > > These are the lowest: > > (setq max-lisp-eval-depth 2800 > > max-specpdl-size 2900) > If all we need is to increase the default from 2500 to 3000, I don't > mind. Progress on this bug seems to have stalled. There are actually two (or maybe several) pairs of default values for max-lisp-eval-depth and max-specpdl-size. They are set in src/eval.c in init_eval_once. For when native compilation is enabled the defaults are 1600/2500. When it's not, they're 800/1800. modus-themes needs just short of 3000/3000, presumably when native compilation is enabled. How about setting both pairs of defaults to 3000/3000 (i.e. no longer distinguishing between native compilation being set or not), and closing the bug? It is, in any case, our medium term goal to have native compilation enabled by default. If everybody is OK on this increase, I'm willing to do the patching. I'm still not very clear on the disadvantages of increasing max-lisp-eval-depth and max-specpdl-size substantially (say by 50% or 100%, not by a factor of 10 or so). There are quite a lot of libraries (maybe the order of 10) which have their own (increased) values for one or both of these limit variables. I don't see why it wouldn't be beneficial to use larger defaults, and purge these "private" settings. We may even be able to do this with the proposed 3000/3000 defaults. -- Alan Mackenzie (Nuremberg, Germany).