From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "T.V Raman" <raman@google.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Howto fix: package autoload is deprecated
Date: Wed, 14 Sep 2022 22:54:35 -0400 [thread overview]
Message-ID: <jwvbkrh2w7z.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <p91illpjsxp.fsf@google.com> (T. V. Raman's message of "Wed, 14 Sep 2022 19:02:42 -0700")
T.V Raman [2022-09-14 19:02:42] wrote:
> I note that the NEWS file marks that entry with a "---" to indicate no
> manual update is needed; but we should minimally mark the info node on
> package 'autoload obsolete, and add a short line somewhere on using or
> at least mentioning loaddefs-generate
FWIW, I think the obsoletion(?) of `autoload.el` is a bit rash:
it breaks all existing packages which just called the (formerly)
autoloaded entry points without first doing (require 'autoload).
[ `elpa-admin.el` was luckily spared because it does not call autoload
functions directly but calls `package-generate-autoloads` instead. ]
I wish we could actually throw out most of `autoload.el` altogether by
providing "thin" wrappers for the former entry points but using the new
engine under the hood.
Stefan
next prev parent reply other threads:[~2022-09-15 2:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 2:38 Howto fix: package autoload is deprecated T.V Raman
2022-09-14 11:30 ` Eli Zaretskii
2022-09-15 2:02 ` T.V Raman
2022-09-15 2:54 ` Stefan Monnier [this message]
2022-09-15 7:16 ` Lars Ingebrigtsen
2022-09-15 17:16 ` Stefan Monnier
2022-09-15 18:19 ` T.V Raman
2022-09-15 13:56 ` T.V Raman
2022-09-15 6:03 ` Eli Zaretskii
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=jwvbkrh2w7z.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=raman@google.com \
/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).