From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.bugs Subject: bug#55414: 29.0.50; Byte compilation error for the modus-themes Date: Wed, 25 May 2022 06:24:46 +0300 Message-ID: <87h75el2f5.fsf@protesilaos.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3792"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.36 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: acm@muc.de, 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 Wed May 25 05:25:11 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 1nthe3-0000qZ-AI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 05:25:11 +0200 Original-Received: from localhost ([::1]:48642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nthe1-0004Bw-Ov for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 May 2022 23:25:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nthdv-0004BU-2u for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 23:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nthdu-0000d3-Og for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 23:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nthdu-0005DP-HS for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 23:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2022 03:25: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.165344910120037 (code B ref 55414); Wed, 25 May 2022 03:25:02 +0000 Original-Received: (at 55414) by debbugs.gnu.org; 25 May 2022 03:25:01 +0000 Original-Received: from localhost ([127.0.0.1]:54020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nthdq-0005D4-AH for submit@debbugs.gnu.org; Tue, 24 May 2022 23:25:01 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nthdn-0005Co-L2 for 55414@debbugs.gnu.org; Tue, 24 May 2022 23:24:57 -0400 Original-Received: (Authenticated sender: public@protesilaos.com) by mail.gandi.net (Postfix) with ESMTPSA id 431CAE0003; Wed, 25 May 2022 03:24:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1653449089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GcANnWa7s4CNZEb/247UUqoAjo6zMKp+w4LAr1SgOkk=; b=m/Psx2f+tOrN1s1LG3wxLOlrWlsTRNMVZveExg/HGxKNp9xAsNlADe/jasW+ibfcOiZszk WoXCXuXfmipNgWuwQxUqKqbDPfvYJJbNxEv+Db3V14orR92sHBl8Hjy19kxgBBclM9tr4k 6C55/wYReuL+2kLmisiTbiVq0TjBcUJEJPITYrKNNrIv68KNkWUn1rtZJusVNVrFHZl6ES sR35BmnpoZms/7K7o6Vfx/OfIFxrJvhe8Xe0qvTuSTl4ybXQMj9oCvko9rt6eNed+8z8u/ 3r3r11NCP1gADfl7QMs+ymEd4G0WS4RYp9+wL76JVAXGfCZgYkYku1dHDHxhMw== In-Reply-To: <83mtf75grb.fsf@gnu.org> 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:233041 Archived-At: > From: Eli Zaretskii > Date: Tue, 24 May 2022 14:09:28 +0300 > >> From: Protesilaos Stavrou >> Cc: acm@muc.de, larsi@gnus.org, 55414@debbugs.gnu.org >> Date: Tue, 24 May 2022 07:37:02 +0300 >> >> > But if you can use local values, that'd be fine with me. >> >> I tried setting local values, both by writing them to the files and >> adding them to .dir-locals.el, but they are ignored. They are also >> ignored when I visit the files, as I keep getting a warning about risky >> local variables even after adding those to safe-local-variable-values >> and ensuring that ignored-local-variable-values is nil. > > Not sure I understand how you tried that. You should bind those > variables to larger values while byte- and native-compiling. If you > use a Makefile to do that, do it there; see lisp/Makefile.in for some > examples. The first approach was to add the following at the end of the relevant files: ;; Local Variables: ;; max-lisp-eval-depth: 3000 ;; max-specpdl-size: 3000 ;; End: Then M-x byte-compile-file with modus-operandi-theme.el: the local variables were ignored. Same for: (package-install-file "/preferred/path/to/modus-themes") The second approach I tried was to add those variables in a .dir-locals.el file which was located in the same directory as the modus-themes. The contents of that file looked like this: ((emacs-lisp-mode . ((max-lisp-eval-depth . 3000) (max-specpdl-size . 3000)))) Again, the values were ignored. These methods work for other variables but not those two. Perhaps because they are considered "risky" as file-local? > 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. -- Protesilaos Stavrou https://protesilaos.com