From: Ihor Radchenko <yantar92@posteo.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: pkg-autoloads.el vs. pkg-loaddefs.el
Date: Thu, 20 Jun 2024 15:33:12 +0000 [thread overview]
Message-ID: <87o77v7hon.fsf@localhost> (raw)
In-Reply-To: <jwvr0cs6abk.fsf-monnier+emacs@gnu.org>
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Right.
>> Maybe org-loaddefs.el should (provide 'org-autoloads)? And same for
>> other built-in packages. Or there might be a token pkg-autoloads.el in
>> the tree for built-in packages.
>
> Maybe we can use `package-builtin-versions`?
> How 'bout a patch like the one below?
I just tested it a bit by applying onto Emacs master and editing the
built-in Org version to be 9.7.4-pre (this was necessary because Org
mode release is currently the same on ELPA and on master).
Then, I did
1. emacs -Q and install Org mode into .emacs.d/elpa
2. emacs -Q
3. M-x org-version (get 9.7.4-pre)
4. M-: (package-activate-all)
5. I saw
⛔ Warning (package): Package org is activated too late.
The following files have already been loaded: ("/home/yantar92/.emacs.d/elpa/org-9.7.4/org" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-version" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-table" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-src" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-pcomplete" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-macs" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-macro" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-loaddefs" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-list" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-keys" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-footnote" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-fold" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-fold-core" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-faces" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-entities" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-cycle" "/home/yantar92/.emacs.d/elpa/org-9.7.4/org-compat" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ol" "/home/yantar92/.emacs.d/elpa/org-9.7.4/oc" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-tangle" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-table" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-ref" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-lob" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-exp" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-eval" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-emacs-lisp" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-core" "/home/yantar92/.emacs.d/elpa/org-9.7.4/ob-comint")
which looks right
6. M-x org-version now reports 9.7.4
7. M-: (org-check-version) does not complain either
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
prev parent reply other threads:[~2024-06-20 15:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-20 12:56 pkg-autoloads.el vs. pkg-loaddefs.el Ihor Radchenko
2024-06-14 13:54 ` Stefan Monnier via Emacs development discussions.
2024-06-17 13:45 ` Ihor Radchenko
2024-06-17 14:04 ` Stefan Monnier
2024-06-18 16:00 ` Ihor Radchenko
2024-06-18 17:23 ` Stefan Monnier
2024-06-18 17:39 ` Ihor Radchenko
2024-06-18 19:43 ` Stefan Monnier
2024-06-18 20:03 ` Ihor Radchenko
2024-06-18 20:12 ` Stefan Monnier
2024-06-19 15:32 ` Ihor Radchenko
2024-06-19 15:58 ` Stefan Monnier
2024-06-19 16:22 ` Ihor Radchenko
2024-06-19 20:35 ` Stefan Monnier
2024-06-20 5:01 ` Eli Zaretskii
2024-07-28 13:52 ` Ihor Radchenko
2024-08-14 0:31 ` Stefan Monnier
2024-08-14 5:43 ` Eli Zaretskii
2024-06-20 15:33 ` Ihor Radchenko [this message]
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=87o77v7hon.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-devel@gnu.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).