From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55414: 29.0.50; Byte compilation error for the modus-themes Date: Sun, 22 May 2022 16:25:23 +0300 Message-ID: <83ilpx7l8c.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: info@protesilaos.com, larsi@gnus.org, 55414@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 22 15:27:20 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 1nslc7-0001gf-DS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 May 2022 15:27:19 +0200 Original-Received: from localhost ([::1]:38450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nslc5-0002bI-RA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 May 2022 09:27:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslbr-0002au-6K for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nslbq-0004wL-Ju for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nslbq-0006Le-Fp for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 13:27: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.165322596224323 (code B ref 55414); Sun, 22 May 2022 13:27:02 +0000 Original-Received: (at 55414) by debbugs.gnu.org; 22 May 2022 13:26:02 +0000 Original-Received: from localhost ([127.0.0.1]:43973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nslao-0006K7-Iy for submit@debbugs.gnu.org; Sun, 22 May 2022 09:26:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nslad-0006Je-JA for 55414@debbugs.gnu.org; Sun, 22 May 2022 09:25:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslaX-0004g2-GM; Sun, 22 May 2022 09:25:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tzpUsjYAtpJPHvsRxz+Ju/60SNXwYj3SMAVGVFFDFrc=; b=dkNnOlS5EZaE ESbaiyOICheqMegSbYwsyaoCSuW4mAw4CCBveA9ZmTyKvfnIRNHtkVfwKV2FCVamovcrn8lkMHgag DDOxE30RU40z6cMspJEPaB03jPiDb5RFeElcW+bRyAPN7AK5nNhKmmQoMWwSfZFCqpcPC3BbonRtv TRIf3qWmFrbDaihEv+d+2fOZGVoa/9Vd22/sEvF94YYXAIkY35zW7w+uHP0wEVHUiJHcHaaB2ep5m y5HvacGx+vchg3NWGWRz9iqhT5tLyb3ChuFP5ekGnCnO4+uaTNszVtY45M/N8bRvc6zuIHzbj5fFH Zq0kfIps31l5dzKlipmuRA==; Original-Received: from [87.69.77.57] (port=4131 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslaW-0000yE-TH; Sun, 22 May 2022 09:25:41 -0400 In-Reply-To: (message from Alan Mackenzie on Sun, 22 May 2022 13:10:20 +0000) 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:232901 Archived-At: > Date: Sun, 22 May 2022 13:10:20 +0000 > Cc: Protesilaos Stavrou , larsi@gnus.org, > 55414@debbugs.gnu.org > From: Alan Mackenzie > > 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? That's too much an increase for the non-native compilation, IMO. > It is, in any case, our medium term goal to have native > compilation enabled by default. How does the default value affect this? I don't want to make the values too large for the reasons I've explained up-thread (and you agreed, AFAIU). Do we know what value is necessary for modus-themes to successfully byte-compile? If so, let's increase the value separately for each case: byte compilation and native-compilation. > 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. Once again, the benefit was explained up-thread: we get to detect infinite recursion sooner, faster, and more reliably. With that in mind, I cannot understand why you are lobbying for significant increase in these values.