From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Masterson <dsmasterson@gmail.com>
Cc: Stefan Monnier via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: "transient-define-suffix" autoload error ?
Date: Wed, 19 Jun 2024 17:36:36 -0400 [thread overview]
Message-ID: <jwvmsng4o1q.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <LV8P223MB092011CB7BB82C582A55FC5FA2CF2@LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM> (David Masterson's message of "Wed, 19 Jun 2024 14:24:46 -0700")
> What is it that initializes the load-path to include all the packages in
> ~/.emacs.d/elpa -- package-initialize?
Nowadays it's `package-activate-all`, which is normally called by Emacs
between `early-init.el` and `init.el` (i.e. just before loading your
~/.emacs`).
> I think there is something wrong
> with this part of my .emacs with respect to emacs -Q:
With `emacs -Q`, Emacs does not call `package-activate-all`, so before
manually loading your `~/.emacs` you may have to manually call
`package-activate-all`.
>> `.eln` files are indexed by the SHA of the corresponding `.elc`, so if
>> there's no `.elc` of if it has changed, you should never get some left
>> over `.eln` file instead.
>
> I noticed a few packages had been updated and both the old and new
> version had eln files in the cache.
Throwing away old `.eln` files is actually a bit difficult to do
automatically, so they tend to accumulate, indeed. But Emacs should
never load old `.eln`s because when loading a `.eln` file is looks for
it based on the hash of the `.elc` file it would have loaded instead.
Stefan
next prev parent reply other threads:[~2024-06-19 21:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 5:21 "transient-define-suffix" autoload error ? David Masterson
2024-06-18 5:47 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-06-18 21:48 ` David Masterson
2024-06-18 22:27 ` Stefan Monnier
2024-06-18 23:01 ` David Masterson
2024-06-18 23:16 ` Stefan Monnier
2024-06-18 23:51 ` David Masterson
2024-06-19 2:07 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-06-19 21:24 ` David Masterson
2024-06-19 21:36 ` Stefan Monnier [this message]
2024-06-20 5:14 ` Eli Zaretskii
2024-06-19 2:17 ` David Masterson
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=jwvmsng4o1q.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dsmasterson@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).