GNU bug report logs - #75328
31.0.50; use-package cannot override a built in package

Previous Next

Package: emacs;

Reported by: "Mark A. Hershberger" <mah <at> everybody.org>

Date: Fri, 3 Jan 2025 22:31:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 75328 <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "Mark A. Hershberger" <mah <at> everybody.org>, 75328 <at> debbugs.gnu.org
Subject: Re: bug#75328: 31.0.50; use-package cannot override a built in package
Date: Sat, 04 Jan 2025 21:57:18 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: "Mark A. Hershberger" <mah <at> everybody.org>
>> Cc: 75328 <at> debbugs.gnu.org
>> Date: Sat, 04 Jan 2025 10:50:21 -0500
>> 
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>> 
>> > Did you try customizing package-install-upgrade-built-in?
>> 
>> Yes.  I also reported this to Jonas[1] and in the following discussion
>> he suggested that and I tried it[2].
>> 
>> 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...




This bug report was last modified 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.