From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#48404: 28.0.50; "Invalid version syntax" errors with read-extended-command Date: Mon, 17 May 2021 15:54:43 +0200 Message-ID: <87h7j1lb30.fsf@gnus.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> <835yzivjnc.fsf@gnu.org> <87cztqn3p9.fsf@gnus.org> <834kf2viof.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="37155"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48404@debbugs.gnu.org, stefan@marxist.se, tsdh@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 17 15:55:20 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 1lidiK-0009QN-6S for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 May 2021 15:55:20 +0200 Original-Received: from localhost ([::1]:53572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lidiJ-000644-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 May 2021 09:55:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lidi3-0005ym-7V for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 09:55:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lidi2-0001lJ-2t for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 09:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lidi2-00021P-1a for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 09:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 May 2021 13:55:02 +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.16212596987748 (code B ref 48404); Mon, 17 May 2021 13:55:02 +0000 Original-Received: (at 48404) by debbugs.gnu.org; 17 May 2021 13:54:58 +0000 Original-Received: from localhost ([127.0.0.1]:52118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lidhy-00020u-8S for submit@debbugs.gnu.org; Mon, 17 May 2021 09:54:58 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:57828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lidht-00020V-5b for 48404@debbugs.gnu.org; Mon, 17 May 2021 09:54:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Z+hc32m/MNzPq44ilZvvF/8oY6FIBr3GCMGzx+t7+fg=; b=FRNPk7Dmv9syd8Gjs/sZRqo5Xx m4Vys1lWdZclJ9hj66GltVtoHoM7dqKc/8yxwGH5g/0W8a8E5FP7CdRRBTbF2KIdYgdLrkh7vV4bT CbBava8rK5pJDrrQoHjcWCtsqMgJ8A8I1eHxUufYfN6MuXY6yV8PkPbH82+40XNmMXwU=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lidhj-0008PM-TF; Mon, 17 May 2021 15:54:46 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEVIbDtPakO1k4Fh VTidTDe6PjlIUD////+9YGZ5AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UFEQ01Gv2TN4QAAAGlSURB VDjLdZNBb+sgDMed0fWcbNLOT920c/RMOFcCen5S8D0Trb//R3g27RZIO6tExj//bZNQgG4oBl0/ dEMPALrkMWysl8QOYLgC8cTpb6DXjaxeHtBJKflJrFOnk5guFTyV2ppyLSVpr7p/OUANygCvYwE3 xWoDWIkdDn/uQG+S+zr8/XRtXEexc0ZEXrAhOqNjRp9d2JQCMMwcEPOmuYI3jh5Ll2ND2QY6cekx N2CPuJjMi7i2CuMIGSVoji2IRC57vpVZZ94RUToHrymI4w/orQAKgRajWlqbT6oIRGhDpERjVUr3 wkSaKK0vC2Kk+VKA8EoBONEpS5egzag++TPNbxd/jW9AOp1LPEX6VwE5SYglfZZ2fgXmB+h0qZJE iqEEy+THSiF7H1W0ObtsE9jvgmsTNGikso3JUXNETZl0eSfiaip1n0cwclF2Y/VKCtid3BktLs1d 0DJm5gsFxw0wRYbTzF/cXhL9kB4xyL3zWwApO7m/jHdg3Ctx070EsuMAOR7vCZj32/Bb230oHR+A kv0A7JfyLL783x/brwB+BY/tP0rubGCTDWEYAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA1LTE3 VDEzOjUzOjI2KzAwOjAwxDEUAAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNS0xN1QxMzo1Mzoy NiswMDowMLVsrLwAAAAASUVORK5CYII= X-Now-Playing: Jay Glass Dubs's _Nyx_: "The Controversial Control" In-Reply-To: <834kf2viof.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 May 2021 17:48:16 +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" Xref: news.gmane.io gmane.emacs.bugs:206702 Archived-At: Eli Zaretskii writes: >> >> (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. >> >> Sorry, I was imprecise here -- I didn't mean that we should change >> `version-to-list' itself here, but add a new function that's more >> permissive, just for use in this context. It would basically be >> something along the lines of (version-to-list (car (split-string string))) > > The main purpose is to compare versions. How would you do that with > loose version strings such as the one above? We're looking at the Emacs version (which we'd put first in the version string, while the rest is essentially a free text used as a comment). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no