From: Philip Kaludercic <philipk@posteo.net>
To: Richard Kim <emacs18@gmail.com>
Cc: 59226@debbugs.gnu.org
Subject: bug#59226: 29.0.50; unable to load package-vc.el if package-vc-selected-packages is non-nil
Date: Wed, 16 Nov 2022 07:47:22 +0000 [thread overview]
Message-ID: <87iljf8ho5.fsf@posteo.net> (raw)
In-Reply-To: <CAFq8O8ufn0T8K3q8iCKANe9ZRs2ASdZH1CMifpHhpRT9zdL0sw@mail.gmail.com> (Richard Kim's message of "Tue, 15 Nov 2022 15:04:47 -0800")
Richard Kim <emacs18@gmail.com> writes:
> Thanks Philip. I built scratch/package-vc-fixes branch, and verified
> that the problem reported by me is gone.
Splendid.
> I would like to ask a follow-up question. I'm trying to use
> package-vc as a replacement for straight.el in my setup.
> I've been using straight.el within spacemacs for some time. If you
> are interested, the details can be found at
> https://github.com/emacs18/spacemacs/tree/sm-straight
I am unfamiliar with both spacemacs and straight, so I'd be lost on my
own. Could you point me to some specific example in the repository?
> The key thing I have not yet figured out is how to activate packages
> installed by package-vc when emacs starts up.
> Package activation is done by the latter part of package-vc--unpack-1
> function. Would it be possible to split out
> activation as a separate function?
Package "activation" (in the sense of `package-activate', checking for
dependencies, adding the right directories to the load path, loading the
info manuals, ...) is still handled by package.el. package-vc.el is
firmly based on package.el, but just provides an alternative to fetching
source code. That is also why package-vc doesn't need to be loaded for
source packages to be usable -- which speeds up the initialisation.
The functionality of `package-vc--unpack-1' is exposed via
`package-vc-rebuild', but I don't think that that is what you need.
If you are having issues with the activation of source packages, then
that is a bug we have to understand and resolve.
next prev parent reply other threads:[~2022-11-16 7:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-12 21:12 bug#59226: 29.0.50; unable to load package-vc.el if package-vc-selected-packages is non-nil Richard Kim
2022-11-14 11:31 ` Philip Kaludercic
2022-11-15 23:04 ` Richard Kim
2022-11-16 7:47 ` Philip Kaludercic [this message]
2022-11-19 17:23 ` Richard Kim
2022-11-20 11:57 ` Philip Kaludercic
2022-11-27 14:11 ` Philip Kaludercic
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=87iljf8ho5.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=59226@debbugs.gnu.org \
--cc=emacs18@gmail.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 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.