From: Philip Kaludercic <philipk@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: mah@everybody.org, 75328@debbugs.gnu.org
Subject: bug#75328: 31.0.50; use-package cannot override a built in package
Date: Sun, 05 Jan 2025 20:33:18 +0000 [thread overview]
Message-ID: <87msg5m25t.fsf@posteo.net> (raw)
In-Reply-To: <86sepxahs1.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jan 2025 08:36:46 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: "Mark A. Hershberger" <mah@everybody.org>, 75328@debbugs.gnu.org
>> Date: Sat, 04 Jan 2025 21:57:18 +0000
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> >> The following does not check out the transient repository into
>> >> ~/.emacs.d/elpa/:
>> >>
>> >> rm -rf ~/.emacs.d &&
>> >> echo '(setq package-install-upgrade-built-in t)
>> >> (use-package transient :vc (:url "https://github.com/magit/transient" :rev :newest) :ensure t)' > ~/.emacs &&
>> >> ~/bin/emacs
>> >
>> > Philip, shouldn't package-install-upgrade-built-in allow upgrading a
>> > built-in package via use--package's :vc keyword?
>>
>> Built-in packages are not supported by package-vc right now, as
>> emacs.git is not a emacs package the way ELPA intends it. There is also
>> the annoyance that without custom code (which would be doable if we had
>> to) we would have a separate checkout of emacs.git for every built-in
>> package that one wishes to clone that way. This would be a lot easier
>> if Git would support subtree or single-file checkouts...
>
> So we should convert this bug into a feature-request, and meanwhile
> document this restriction in the use-package manual?
If anything, we should document this in (emacs) Fetching Package
Sources, but one can mention that in the use-package manual as well.
prev parent reply other threads:[~2025-01-05 20:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-03 22:29 bug#75328: 31.0.50; use-package cannot override a built in package Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-04 7:24 ` Eli Zaretskii
2025-01-04 15:50 ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-04 18:21 ` Eli Zaretskii
2025-01-04 21:57 ` Philip Kaludercic
2025-01-05 6:36 ` Eli Zaretskii
2025-01-05 20:33 ` Philip Kaludercic [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=87msg5m25t.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=75328@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=mah@everybody.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.
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.