From: Eli Zaretskii <eliz@gnu.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: 65222@debbugs.gnu.org, dalanicolai@gmail.com
Subject: bug#65222: 29.1; Packages initialize but package--initialize is nil
Date: Sat, 19 Aug 2023 12:24:32 +0300 [thread overview]
Message-ID: <83ttsvz8of.fsf@gnu.org> (raw)
In-Reply-To: <87fs4fxv40.fsf@posteo.net> (message from Philip Kaludercic on Sat, 19 Aug 2023 09:02:55 +0000)
> From: Philip Kaludercic <philipk@posteo.net>
> Cc: dalanicolai <dalanicolai@gmail.com>, 65222@debbugs.gnu.org
> Date: Sat, 19 Aug 2023 09:02:55 +0000
>
> I can reproduce the issue, but this isn't an issue, since
> `package-enable-at-startup' is related to the activation of packages at
> startup, not the initialisation of package.el. In startup.el we find
>
> --8<---------------cut here---------------start------------->8---
> ;; If any package directory exists, initialize the package system.
> (and user-init-file
> package-enable-at-startup
> (not (bound-and-true-p package--activated))
> (catch 'package-dir-found
> ...)
> (package-activate-all))
> --8<---------------cut here---------------end--------------->8---
>
> And it makes sense, when we consider the difference between
> `package-activate-all' and `package-initialize'. The former goes
> through all available packages ensures they can be used, the former sets
> up package.el-internal variables in addition to what
> `package-activate-all' does, which is not necessary at startup if we
> just want the packages to be made available for the user.
>
> So south I understand the confusion, I believe the behaviour is correct.
> What we could do is to extend the documentation at some places to avoid
> this confusion in the future.
Please suggest documentation patches you think are in order, and
thanks.
prev parent reply other threads:[~2023-08-19 9:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 9:08 bug#65222: 29.1; Packages initialize but package--initialize is nil dalanicolai
2023-08-19 8:15 ` Eli Zaretskii
2023-08-19 9:02 ` Philip Kaludercic
2023-08-19 9:24 ` Eli Zaretskii [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ttsvz8of.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=65222@debbugs.gnu.org \
--cc=dalanicolai@gmail.com \
--cc=philipk@posteo.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.