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: Sun, 05 Jan 2025 20:33:18 +0000 Message-ID: <87msg5m25t.fsf@posteo.net> References: <87cyh3il9c.fsf@everybody.org> <86msg7f3du.fsf@gnu.org> <878qrqinnm.fsf@everybody.org> <86sepybfsx.fsf@gnu.org> <874j2ensxt.fsf@posteo.net> <86sepxahs1.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="23614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mah@everybody.org, 75328@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 21:34:26 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 1tUXKL-000614-9Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 21:34:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUXK1-0003kQ-3m; Sun, 05 Jan 2025 15:34:05 -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 1tUXJy-0003jx-CO for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 15:34: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 1tUXJx-0004xW-Ty for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 15:34: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=j5ivRYQY8AAuXn81dbHdd0dzqypXe8O7cQRmRyYl1ew=; b=YoeP7Tb+nQX7bdutIAR9gGmhXlcPqMI7vAilSmWmv7e+YqAoajzDJJICgMWPWpNMgSJHPUyD/01836UllJ5hj6Fz1lnVZ7iEvhg+4ix4W4tkYKYu/8HFNHmDHymL6c1LPZ+k4tVJz+t4RU9ouXKIl2dMOlmvUYQ5oxr+N3UvKZMfAU6fD2jq6us8fY8GNMr6+Pmij2T3cLNBBRO07WbEqm/d9ebgl7GxX69UQ7o+KagUooJwYcNYtGq0HF8xoDkw06OW4dOv2KgfPbmAAeB6v9VKeZ9IadW6krPDDcV/AJPCGuutEQuF+J3nBfGJsAag2pfc83Vsa25VPbg7Pb0S1g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUXJx-0008Oo-MY for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 15:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 20:34:01 +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.173610920932232 (code B ref 75328); Sun, 05 Jan 2025 20:34:01 +0000 Original-Received: (at 75328) by debbugs.gnu.org; 5 Jan 2025 20:33:29 +0000 Original-Received: from localhost ([127.0.0.1]:35414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUXJQ-0008No-Qj for submit@debbugs.gnu.org; Sun, 05 Jan 2025 15:33:29 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:46897) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUXJO-0008NX-Py for 75328@debbugs.gnu.org; Sun, 05 Jan 2025 15:33:27 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 58A55240103 for <75328@debbugs.gnu.org>; Sun, 5 Jan 2025 21:33:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1736109200; bh=Ae1yI4AXIM2la4lMycjOvAjbUU5Aj2ik4YRwZ3ri5Mw=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=U/4NKU4H8ERF37a+CEowsc8NJFBB5FxNoOLsVb6c/aaaUFfvGoG2xb+IX85vDlcYV nlljIhQbrc03+ngFgOpYEU6x9Q0YOH0Dm4FI6sz3H/Z9FPgCqxp85Y0cNjq5eZICtq YHR4fOqt3JQ8Va7MPVUlBr3An4b+lmFL5sj1sVrcgson2nF8j2/kO/waLgTvQUD1mp WQAa0cDPGERy1mUICxjP7yBSG5A4TPZGnvo4Jy5F8m4wDozo6Kl54oQZHblQeQ7+hy S4mIMKr6sfgl/4wvBcPRitYQGkO3rqRP9wtipG+AgDt3tq3gonn1ZUFRckgzP7OQ8T ArDHy/fOJzQCw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YR8CM0r8nz6tvr; Sun, 5 Jan 2025 21:33:18 +0100 (CET) In-Reply-To: <86sepxahs1.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jan 2025 08:36:46 +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:298606 Archived-At: Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: "Mark A. Hershberger" , 75328@debbugs.gnu.org >> Date: Sat, 04 Jan 2025 21:57:18 +0000 >> >> Eli Zaretskii 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.