GNU bug report logs - #55972
28.1; Package quickstart generated for large number of packages generates byte-code string larger than 64K, triggering bytecode overflow error

Previous Next

Package: emacs;

Reported by: Lynn Winebarger <owinebar <at> gmail.com>

Date: Tue, 14 Jun 2022 14:52:02 UTC

Severity: normal

Found in version 28.1

Full log


Message #38 received at 55972 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: Mattias Engdegård
 <mattiase <at> acm.org>, 55972 <at> debbugs.gnu.org,
 Stefan Kangas <stefankangas <at> gmail.com>, Lynn Winebarger <owinebar <at> gmail.com>
Subject: Re: bug#55972: 28.1; Package quickstart generated for large number
 of packages generates byte-code string larger than 64K, triggering
 bytecode overflow error
Date: Wed, 13 Sep 2023 10:58:54 -0400
> I have no idea how I would split the autoloads into two parts.  Is there
> some mechanism, say ;;;###autoload[external] / ;;;###autoload[internal],
> that would be respected by `loaddefs-generate' and/or code that uses that?

The new `loaddefs-gen.el` does offer something for that, yes, but that's
only for Emacs≥29, so until Org support older Emacsen you'd have to
pregenerate that "internal autoloads" file "by hand" (and even keep it
in the Git until `elpa.gnu.org` upgrades to a version of Debian that has
Emacs-29, i.e. presumably Debian 13 aka Trixie around 2025).


        Stefan





This bug report was last modified 1 year and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.