From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#75328: 31.0.50; use-package cannot override a built in package Date: Sun, 05 Jan 2025 08:36:46 +0200 Message-ID: <86sepxahs1.fsf@gnu.org> References: <87cyh3il9c.fsf@everybody.org> <86msg7f3du.fsf@gnu.org> <878qrqinnm.fsf@everybody.org> <86sepybfsx.fsf@gnu.org> <874j2ensxt.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2511"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mah@everybody.org, 75328@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 07:37:16 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 1tUKGB-0000Tk-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 07:37:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUKG1-00038U-Jq; Sun, 05 Jan 2025 01:37: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 1tUKFz-00037R-0c for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 01:37:03 -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 1tUKFx-0003jw-TW for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 01:37:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=D0F+UsaQNnQGb98uS16nwXR9R9sHa5zhl60msJ0+WaI=; b=iCA4jsLrYUyk/dyL1/0SfAFgaHYhW0BieQjuRQS3Bh+Q3dsn8ezzrrs/x9F9657udYLp7cJa5f+nCbpIhbExPty3n76b7Q7F1iopuc2Oo6oLUDAJs05eOfmdAQU8+xGGWSPBWQJXjvFCsB9vh5K+eLA1f4Lpbm1fnNaGduIH/HnBrV+ZOSqhKLTe97TQx3XhFw5b+eV2zD4EVNsp2c+4asUxdGRAAu/Y67b9xkvXLa7+Y8LZaKsaoqd/LCKtV7bfj7ZA8C/SrgprxMEJciP3X4UuJOavlZ2aUW/goQAMoKk3q8McTMLSuXU0X7fUk/5iM5Bnp4+vMRv8NIIL0se+1g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUKFx-0006cD-Nw for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 01:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 06:37: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.173605901925417 (code B ref 75328); Sun, 05 Jan 2025 06:37:01 +0000 Original-Received: (at 75328) by debbugs.gnu.org; 5 Jan 2025 06:36:59 +0000 Original-Received: from localhost ([127.0.0.1]:59283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUKFu-0006bs-T7 for submit@debbugs.gnu.org; Sun, 05 Jan 2025 01:36:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50844) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUKFs-0006be-As for 75328@debbugs.gnu.org; Sun, 05 Jan 2025 01:36:57 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUKFl-0003j0-Mm; Sun, 05 Jan 2025 01:36:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=D0F+UsaQNnQGb98uS16nwXR9R9sHa5zhl60msJ0+WaI=; b=DlaW+xsk9mV1 3bUlsCakZi1i8p7LZF7nryn3N1irXEG/YJSK1uwQb/x39ZGqXwUfDKYXFNuVqYR60JN0xs05ajzNT ipJf50CKwD08agX3cfwGpkgt+JtU6FiBJFm0vyvy145cNY+Oqi+4U0MpGfh08QvbzqiGhzNUXirvN ybg3QNWpK1Hsn3WXPfDxQxAcspNn1Fu2dwig2QvhVUqUbYkyvBlKZzMRGeOG9FKmI7gIP/NQ+Y2qN ieBJpQA/c0DB08nZj5nguvwdLs2fM6ut+hDT6DP4Eaw30q/J3/Rg24WglZQvqVZF+6OLZ2QBt8H7L gHzZl64lsf1uA/QB9h62vg==; In-Reply-To: <874j2ensxt.fsf@posteo.net> (message from Philip Kaludercic on Sat, 04 Jan 2025 21:57:18 +0000) 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:298499 Archived-At: > 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?