unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Protesilaos Stavrou <info@protesilaos.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: acm@muc.de, larsi@gnus.org, 55414@debbugs.gnu.org
Subject: bug#55414: 29.0.50; Byte compilation error for the modus-themes
Date: Thu, 26 May 2022 14:32:21 +0300	[thread overview]
Message-ID: <838rqopm0q.fsf@gnu.org> (raw)
In-Reply-To: <87tu9crg7f.fsf@protesilaos.com> (message from Protesilaos Stavrou on Thu, 26 May 2022 08:55:00 +0300)

> From: Protesilaos Stavrou <info@protesilaos.com>
> 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?





  reply	other threads:[~2022-05-26 11:32 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 18:07 bug#55414: 29.0.50; Byte compilation error for the modus-themes Protesilaos Stavrou
2022-05-15 13:45 ` Lars Ingebrigtsen
     [not found]   ` <87lev296hl.fsf@protesilaos.com>
2022-05-15 15:16     ` Lars Ingebrigtsen
2022-05-16  7:58       ` Alan Mackenzie
2022-05-16  8:21         ` Protesilaos Stavrou
2022-05-16 11:15         ` Eli Zaretskii
2022-05-16 12:03           ` Alan Mackenzie
2022-05-16 12:26             ` Eli Zaretskii
2022-05-16 13:48               ` Alan Mackenzie
2022-05-16 13:56                 ` Eli Zaretskii
2022-05-16 14:52                   ` Protesilaos Stavrou
2022-05-16 15:56                     ` Eli Zaretskii
2022-05-22 13:10                       ` Alan Mackenzie
2022-05-22 13:25                         ` Eli Zaretskii
2022-05-23  3:51                           ` Protesilaos Stavrou
2022-05-23 10:57                             ` Eli Zaretskii
2022-05-24  4:37                               ` Protesilaos Stavrou
2022-05-24 11:09                                 ` Eli Zaretskii
2022-05-25  3:24                                   ` Protesilaos Stavrou
2022-05-25 13:12                                     ` Eli Zaretskii
2022-05-26  5:55                                       ` Protesilaos Stavrou
2022-05-26 11:32                                         ` Eli Zaretskii [this message]
2022-05-26 11:57                                           ` Lars Ingebrigtsen
2022-05-26 12:59                                             ` Eli Zaretskii
2022-05-26 15:20                                             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-26 15:42                                               ` Protesilaos Stavrou
2022-05-27  9:52                                             ` Alan Mackenzie
2022-05-27 10:25                                               ` Lars Ingebrigtsen
2022-05-26 16:02               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-26 15:30 ` Mattias Engdegård
2022-05-27  9:03   ` Mattias Engdegård
2022-05-27 10:23     ` Lars Ingebrigtsen
2022-05-27 10:39       ` Protesilaos Stavrou
2022-05-27 10:42         ` Lars Ingebrigtsen
2022-05-27 11:32           ` Alan Mackenzie
2022-05-27 11:52             ` Lars Ingebrigtsen
2022-05-27 13:42               ` Alan Mackenzie
2022-05-27 13:50                 ` Lars Ingebrigtsen
2022-05-28 23:13                   ` Richard Stallman
2022-05-27 12:15             ` Protesilaos Stavrou
2022-05-27 13:59   ` Alan Mackenzie
2022-05-27 16:53     ` Mattias Engdegård
2022-05-27 18:24       ` Alan Mackenzie
2022-05-29  9:18         ` Mattias Engdegård
2022-05-29 13:38           ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838rqopm0q.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=55414@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=info@protesilaos.com \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).