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#62750: 29.0.50; Commands 'package-update' and 'package-update-all' should be called '*-upgrade' Date: Mon, 24 Apr 2023 15:02:42 +0300 Message-ID: <83bkjdxzbx.fsf@gnu.org> References: <2726a957-a2a8-3b89-8930-2d620d83491e@alphapapa.net> <83sfd7c1v1.fsf@gnu.org> <875ya3euof.fsf@posteo.net> <87fs95a6y3.fsf@posteo.net> <83h6tl6xgn.fsf@gnu.org> <54892fb9-fcc5-d036-e0de-e199712ff7d4@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5642"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam@alphapapa.net, larsi@gnus.org, philipk@posteo.net, monnier@iro.umontreal.ca, 62750@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 24 14:03:33 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 1pquuq-0001FX-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Apr 2023 14:03:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pquuf-0003FE-JG; Mon, 24 Apr 2023 08:03:21 -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 1pquuT-0003Ac-1v for bug-gnu-emacs@gnu.org; Mon, 24 Apr 2023 08:03:09 -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 1pquuM-0006fx-EY for bug-gnu-emacs@gnu.org; Mon, 24 Apr 2023 08:03:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pquuL-0001Ap-U3 for bug-gnu-emacs@gnu.org; Mon, 24 Apr 2023 08:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Apr 2023 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62750 X-GNU-PR-Package: emacs Original-Received: via spool by 62750-submit@debbugs.gnu.org id=B62750.16823377474467 (code B ref 62750); Mon, 24 Apr 2023 12:03:01 +0000 Original-Received: (at 62750) by debbugs.gnu.org; 24 Apr 2023 12:02:27 +0000 Original-Received: from localhost ([127.0.0.1]:47738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqutm-00019z-W5 for submit@debbugs.gnu.org; Mon, 24 Apr 2023 08:02:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqutl-00019m-7v for 62750@debbugs.gnu.org; Mon, 24 Apr 2023 08:02:25 -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 1pqutf-0006U1-Iq; Mon, 24 Apr 2023 08:02:19 -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=R/PnOZ+d7+pOEco/PuruNERvO/qjRBvPmzxtrHIWAmU=; b=Fns4/nsKJME6 I/JX7uBDXFjqOYM05jMJxnN8nsVjx3mxvnGhKSpq8VUzov7kTtep2gR6C46Q4E6BrgYTSz2pz56BJ fJeaLpAqDbVNJUbvXQzuk/EujWNvvpYBXBN8zTfBBOHUnvqKPDavNNai604yuiwt8/g9EIoEvisxv SBqN67TqMHz2oN7lmNkG06nFRG50f1PyzHGkIBkkh2/KkTqFoKM1xCKJXIS+1+iLpooL6x8FO7Aee aK0DHqnoHrN3b1ZdtIA5286RU8PpkYZ63HA7Q9aV/BoI5x9DEJe/m4Fu2Z1BpZJRbbTUHO1NT9Tm8 r2jt7Do2aVW9D3oJytp2aQ==; 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 1pqute-0004yZ-34; Mon, 24 Apr 2023 08:02:18 -0400 In-Reply-To: (message from Dmitry Gutov on Mon, 24 Apr 2023 02:06:45 +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:260567 Archived-At: > Date: Mon, 24 Apr 2023 02:06:45 +0300 > From: Dmitry Gutov > Cc: adam@alphapapa.net, philipk@posteo.net, larsi@gnus.org, > 62750@debbugs.gnu.org > > Here's a couple of other existing functions: > > package--update-selected-packages > package--update-downloads-in-progress > > Neither of these relate to upgrading packages. Although the former could > be easy to mistake for that now. > > In all older functions, the term "update" (in comments and variable > names) refers to updating the value of some variable, not packages. > > By analogy, 'M-x package-update-all' might be easy enough to mistake for > updating the list of packages available for installation, for example. > > Here's a patch that does the rename. Also including package-vc-update* > that Philip mentioned. Any objections to these renames, anyone? Does anyone think we need to leave behind aliases for the old names? Me, I have only one potential issue: since "update" just means "delete the installed version, then install another version", it could be easily made to downgrade, not just to upgrade. So if we ever would like to allow downgrading, the new names will get in the way. But if this is not an issue we should be bothered about, it's fine by me. Thanks.