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#62720: 29.0.60; Not easy at all to upgrade :core packages like Eglot Date: Sat, 22 Apr 2023 11:33:35 +0300 Message-ID: <834jp82u5c.fsf@gnu.org> References: <87a5zj2vfo.fsf@gmail.com> <83r0sh8i1q.fsf@gnu.org> <35638c9d-e13f-fad8-5f95-ea03d65d4aa2@gmail.com> <87a5z3izst.fsf@web.de> <83v8hr7qk9.fsf@gnu.org> <83pm7z7nkc.fsf@gnu.org> <4b63ef62-5e1c-3dcf-ec7b-06b69e79133b@gutov.dev> <83o7nj7mfn.fsf@gnu.org> <556e0fbb-215e-c11d-0e8b-73e97441abbb@gutov.dev> <83pm7y6fdo.fsf@gnu.org> <47140c27-ba63-ca7b-8b9e-cc38a6f9a866@gutov.dev> <838rem636a.fsf@gnu.org> <83leil4u63.fsf@gnu.org> <8a9d0e2b-6ae2-bcdc-efd0-52a44ac862bb@gutov.dev> <83h6t94hru.fsf@gnu.org> <7676c8d2-1324-31e7-38b3-de167ecf683a@gutov.dev> <8e9bd99a-3093-3b69-8429-aa1ae6b7240d@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15722"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, philipk@posteo.net, 62720@debbugs.gnu.org, monnier@iro.umontreal.ca, larsi@gnus.org, joaotavora@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 22 10:34:13 2023 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 1pq8hB-0003tL-Kf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Apr 2023 10:34:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pq8h2-0008Vs-O1; Sat, 22 Apr 2023 04:34:04 -0400 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 1pq8h0-0008Uw-SM for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 04:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pq8h0-00038S-K0 for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 04:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pq8h0-00085O-4B for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 04:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2023 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62720 X-GNU-PR-Package: emacs Original-Received: via spool by 62720-submit@debbugs.gnu.org id=B62720.168215240831038 (code B ref 62720); Sat, 22 Apr 2023 08:34:02 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 22 Apr 2023 08:33:28 +0000 Original-Received: from localhost ([127.0.0.1]:41649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq8gR-00084Y-LK for submit@debbugs.gnu.org; Sat, 22 Apr 2023 04:33:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq8gO-00084K-E2 for 62720@debbugs.gnu.org; Sat, 22 Apr 2023 04:33:26 -0400 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 1pq8gI-00032B-Jn; Sat, 22 Apr 2023 04:33:18 -0400 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=JMV3o+m9mEcxB10CzOIt4VccHFlCHI3ywL2NMI7hYMA=; b=NaIZSYoa7i69 zmzppiu+uvgdwhL1YKf4bD926Fkh6AOnplG5FtKaxl5B4GB0by9NLAPawvREMQqWjEnhtXSVxnJpJ v+L9YT9B0LfNO3q01sliVdpg4dTzz98a+OcuCQSDjFAcUk8rpRMFjcSOaQgDQ/j1/snoQdnJzLILs k21i1qJLcfrwDXEc6S8em1vY46P1IwKWZZgE2WkZFeO5uUMjsEVF0nliEc7HCfArtX8ZDd07YwrUx v9FRClul/2Ym3VkG+GfXPPPeHbVv0ddPrhEswzje6fLbMOLkuDbKNmvDk6/HBNVfBZbAFw8Tb8Nv6 VDeJHNLl5Dngj9VxOidVOA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq8gH-0004Nv-Nq; Sat, 22 Apr 2023 04:33:18 -0400 In-Reply-To: <8e9bd99a-3093-3b69-8429-aa1ae6b7240d@gutov.dev> (message from Dmitry Gutov on Sat, 22 Apr 2023 03:57:03 +0300) 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:260437 Archived-At: > Date: Sat, 22 Apr 2023 03:57:03 +0300 > From: Dmitry Gutov > Cc: jporterbugs@gmail.com, philipk@posteo.net, 62720@debbugs.gnu.org, > joaotavora@gmail.com, larsi@gnus.org, monnier@iro.umontreal.ca > > > That's what I imagined: adding a new optional argument to > > package--updateable-packages which would include builtins in the result. > > > > And only pass it when called from package-upgrade. > > > > Hopefully that's the kind of optional that you meant. > > Here's a patch which does that. The diff could be reduced (the > package-update part) by binding the new option > (package-install-upgrade-built-in), but I figured it's better to avoid > interdependency while we're still deciding what to keep. Thanks, but this is not what was being discussed, AFAIU. What I said I'd agree to is to have package-update accept a prefix argument and heed package-install-upgrade-built-in (perhaps renamed), and only then update built-in packages. I also don't think I like the significant changes in package-update, nor understand why they are needed.