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: Thu, 26 May 2022 14:32:21 +0300 Message-ID: <838rqopm0q.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> <83ilpx7l8c.fsf@gnu.org> <87tu9gyki9.fsf@protesilaos.com> <83czg47bz7.fsf@gnu.org> <87v8tv7dht.fsf@protesilaos.com> <83mtf75grb.fsf@gnu.org> <87h75el2f5.fsf@protesilaos.com> <83r14h4uyi.fsf@gnu.org> <87tu9crg7f.fsf@protesilaos.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, larsi@gnus.org, 55414@debbugs.gnu.org To: Protesilaos Stavrou , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 26 13:50:04 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 1nuC0B-0005ko-Tt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 May 2022 13:50:04 +0200 Original-Received: from localhost ([::1]:51306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuC0A-0004dx-BX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 May 2022 07:50:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuBji-0002Xu-Og for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuBji-0000KC-E3 for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuBji-00036T-AY for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:33: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: Thu, 26 May 2022 11:33: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.165356476111902 (code B ref 55414); Thu, 26 May 2022 11:33:02 +0000 Original-Received: (at 55414) by debbugs.gnu.org; 26 May 2022 11:32:41 +0000 Original-Received: from localhost ([127.0.0.1]:57134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuBjN-00035t-8d for submit@debbugs.gnu.org; Thu, 26 May 2022 07:32:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuBjH-000301-LK for 55414@debbugs.gnu.org; Thu, 26 May 2022 07:32:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuBjB-0000FB-Jj; Thu, 26 May 2022 07:32:29 -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=tR/Re/bodv2OPTdGYjDuwmcXeH2K+1NWHFC/vBXAXYo=; b=nb9erzOiVOSz 3ZmiPeLvVgoffOGq0K0nadDqZwPPUqtqA5Q/F0eZ6TtFy6uEHByQxEn7ob3wnde3QtW6qmT0oUADz MbZZRqX7uyZlhgSrcmrSME4aknkgGLpHIOfibJhlLzgvM/64ojL1Tw2PT2RHL3fHbp24BQZwKUKut 79z+Y86bXO91rwqtH0+4s5Pl+GuSbfBLZeQJyU9guXl3VfPYlMpetEnGc86KQkIxNYJ9ZcRI3o228 tp5YnW6zNB5BU+nDxKovFJJwQQDFHGaTua8lNGvxH0axSocG92pMVfmIq9lG0pjc6sIqWyd6sOtc1 sFV8q2piGqtpdpJ6SinuHg==; Original-Received: from [87.69.77.57] (port=3063 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 1nuBjA-0007dF-0T; Thu, 26 May 2022 07:32:29 -0400 In-Reply-To: <87tu9crg7f.fsf@protesilaos.com> (message from Protesilaos Stavrou on Thu, 26 May 2022 08:55:00 +0300) 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:233099 Archived-At: > From: Protesilaos Stavrou > Cc: acm@muc.de, larsi@gnus.org, 55414@debbugs.gnu.org > Date: Thu, 26 May 2022 08:55:00 +0300 > > >> ((emacs-lisp-mode . ((max-lisp-eval-depth . 3000) > >> (max-specpdl-size . 3000)))) > >> > >> Again, the values were ignored. > > > > How about advising package-install-file? > > You mean at the theme level? I am not sure how that would work and what > its potential downsides are. > > > Also, how do other packages overcome similar problems? Surely, this > > isn't the first or the second package that needs such measures? > > I am not aware of other such cases. This one is specific to the recent > changes in Emacs 29 (as noted earlier in this thread). > > > And finally, any ideas why a package that is just a theme need such > > large values of these variables? > > Because the theme covers about 3300 faces. Assuming other things > constant, to get it to byte compile again I need to remove more than > 1200 faces, including popular groups like those of Gnus and Helm. > > >> These methods work for other variables but not those two. Perhaps > >> because they are considered "risky" as file-local? > > > > No, I think that's because these facilities visit the file literally. > > I see. Thanks! > > >> > If the above misses the point, please tell more how you compile the > >> > package and how you tried to enlarge the values of those variables. > >> > >> I don't use a Makefile. The recipe I shared in the first message to > >> this bug report affects installation via package.el and, by extension, > >> GNU ELPA. > > > > If all else fails, perhaps package.el should acquire a feature whereby > > these variables could be overridden during byte-compilation. > > I am happy with whatever is best for Emacs. Though I do not know enough > about package.el to have an informed opinion on the matter. Stefan, WDYT about adding such a facility to package.el? Lars, is it just me, or are you also concerned by a large increase in the default values of these variables?