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#48404: 28.0.50; "Invalid version syntax" errors with read-extended-command Date: Sun, 16 May 2021 17:27:19 +0300 Message-ID: <835yzivjnc.fsf@gnu.org> References: <875yzms6im.fsf@gnu.org> <83wns1zvhs.fsf@gnu.org> <871ra9kdgs.fsf@gnu.org> <83czttzstr.fsf@gnu.org> <87wns1n4k6.fsf@gnus.org> <835yzlzr37.fsf@gnu.org> <87cztqojsk.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1280"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48404@debbugs.gnu.org, stefan@marxist.se, tsdh@gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 16 16:28:10 2021 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 1liHkX-000060-VD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 May 2021 16:28:09 +0200 Original-Received: from localhost ([::1]:45480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liHkX-000560-13 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 May 2021 10:28:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liHkQ-00055g-6e for bug-gnu-emacs@gnu.org; Sun, 16 May 2021 10:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liHkP-0001nz-Uv for bug-gnu-emacs@gnu.org; Sun, 16 May 2021 10:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1liHkP-000566-S2 for bug-gnu-emacs@gnu.org; Sun, 16 May 2021 10:28: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: Sun, 16 May 2021 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 48404-submit@debbugs.gnu.org id=B48404.162117524919553 (code B ref 48404); Sun, 16 May 2021 14:28:01 +0000 Original-Received: (at 48404) by debbugs.gnu.org; 16 May 2021 14:27:29 +0000 Original-Received: from localhost ([127.0.0.1]:51293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liHjt-00055J-In for submit@debbugs.gnu.org; Sun, 16 May 2021 10:27:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liHjr-000557-V2 for 48404@debbugs.gnu.org; Sun, 16 May 2021 10:27:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50638) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liHjm-0001PQ-CH; Sun, 16 May 2021 10:27:22 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1828 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 1liHjk-0003sO-3K; Sun, 16 May 2021 10:27:20 -0400 In-Reply-To: <87cztqojsk.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 16 May 2021 16:06:03 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:206671 Archived-At: > From: Lars Ingebrigtsen > Cc: tsdh@gnu.org, 48404@debbugs.gnu.org, stefan@marxist.se > Date: Sun, 16 May 2021 16:06:03 +0200 > > > But this comes with a heavy price: commands from any package that is > > not bundled with Emacs will not be able to take advantage of this > > feature, ever. Is it worth punishing those packages' users to have a > > softer transition? Given our conservative approach to obsoleting > > stuff, I'm not sure. > > I'm not quite sure I understand you here? If the version can't be > parsed, then the command will still show up in `M-x TAB', which means > that the obsoletion of these commands is very soft indeed. For obsolete commands from 3rd-party packages, which state something like "Magit 3.0" in the version since which they are obsolete, the obsolescence will never happen, in the sense that they will _always_ appear in "M-x TAB", even 100 years from now. Is that what we want? > But I'm wondering whether `version-to-list' should be more lax here. > That is, currently it'll barf of things like: > > (version-to-list "28.1 Magit/2.5") I'm not sure it's possible without introducing ambiguity into the version string and complicating comparison of versions. We already support some non-numeric versions, and that's not easy. > It might make sense to allow the obsoletion versions to refer to both an > (approximate) Emacs version, as well as a package version. How can this be done, even in principle? Versions of unbundled packages are unrelated to Emacs versions; typically, a given version of an unbundled package supports quite a few Emacs versions. So what Emacs version will you put there?