From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#75328: 31.0.50; use-package cannot override a built in package Date: Sat, 04 Jan 2025 21:57:18 +0000 Message-ID: <874j2ensxt.fsf@posteo.net> References: <87cyh3il9c.fsf@everybody.org> <86msg7f3du.fsf@gnu.org> <878qrqinnm.fsf@everybody.org> <86sepybfsx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29565"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Mark A. Hershberger" , 75328@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 22:58:32 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUCAC-0007Xo-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 22:58:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUC9s-0000e7-7C; Sat, 04 Jan 2025 16:58:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUC9i-0000dl-Jy for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 16:58:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUC9i-00089Y-B0 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 16:58:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=VSck8qYUCjKIfDhPA0DvGxcarWi5nAflAgUkWOConHM=; b=qvq6auwL6fT/xJF8Njg/DUj8saIlareSB00Mpvm2dEoGw0vHq4mBCvrljdGWo5/AAD9rJleeoq4voa1d1xfgX8KQasmc59XuGFQ33VOhY8FcHYlKBXeBW9Lk5g6LpBrTnt7D0cw01UP42EMI27+LYvQrvZMIoWCki2lfbcr0ycoTrCcGta6xWromFnasNQEZd8BKrPHE6yb2DU7vi2bH+o35YaHbqu5i5ud9VddXS7nf76RpVyIdqvKLi0YzlvmMtGaiF+UIJB57KfriZYsfIxRBV48uKNZ9ZgocPqYJrh2m+FjMicrr/g3athiJd4LUm9YLFyJNMnj7Oc0c5PEhUQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUC9i-0007FL-2r for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 16:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 21:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75328 X-GNU-PR-Package: emacs Original-Received: via spool by 75328-submit@debbugs.gnu.org id=B75328.173602785027812 (code B ref 75328); Sat, 04 Jan 2025 21:58:02 +0000 Original-Received: (at 75328) by debbugs.gnu.org; 4 Jan 2025 21:57:30 +0000 Original-Received: from localhost ([127.0.0.1]:57756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUC9C-0007EV-7g for submit@debbugs.gnu.org; Sat, 04 Jan 2025 16:57:30 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:53853) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUC99-0007EI-Sj for 75328@debbugs.gnu.org; Sat, 04 Jan 2025 16:57:29 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 69AD3240027 for <75328@debbugs.gnu.org>; Sat, 4 Jan 2025 22:57:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1736027840; bh=M8SGeKPEya0IxJDYaFGy/im884BzdTcQ5901/7I0aVI=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=dHdxhH2ZYZaAiF701g4H6sn41RkUN0Vuo1GvIttsSKk9DKxnqKKQ7GGW4vwU+SWpW CFq7Lzi8KoPS2C53noE1XBoxyqslRz3ubU2RphUtNcy9+i2ETCIqF32zF8YfRjgodo enE4PMVgPvzjcPUzt00Ee4I51P+FR+UT00x4Yfj5IumPyqThZp5izvihIOG8U0n28v zBtirffPzRiG2c6+rFXX1thFMXjony8HbjmJFOvN7akJCp4flRrTsnx3RcBVPSxs0w 91ll/7POdMJS78otT+HljxFh/ZX8E4iEutmdnljg0HSpRfRbVhXOXncOiTFxfs6xl1 65ySfaNBfAi0w== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YQZ6l0YwCz9rxB; Sat, 4 Jan 2025 22:57:18 +0100 (CET) In-Reply-To: <86sepybfsx.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Jan 2025 20:21:50 +0200") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298481 Archived-At: Eli Zaretskii writes: >> From: "Mark A. Hershberger" >> Cc: 75328@debbugs.gnu.org >> Date: Sat, 04 Jan 2025 10:50:21 -0500 >> >> Eli Zaretskii 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...