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#68317: Can't sort *Packages* buffer by version after installing with package-vc Date: Wed, 10 Jan 2024 05:27:08 +0200 Message-ID: <83jzohookz.fsf@gnu.org> References: <87edesnqd6.fsf@breatheoutbreathe.in> <835y04q8o0.fsf@gnu.org> <877ckis407.fsf@posteo.net> <83y1cynv02.fsf@gnu.org> <87plyaqmyk.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31708"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68317@debbugs.gnu.org, joseph@breatheoutbreathe.in To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 10 04:28:23 2024 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 1rNPGQ-00082z-Mu for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jan 2024 04:28:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNPG2-0002ZF-QT; Tue, 09 Jan 2024 22:27:58 -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 1rNPG0-0002Y9-It for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 22:27:56 -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 1rNPFz-0005T9-8u for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 22:27:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNPG6-00071k-0I for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 22:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2024 03:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68317 X-GNU-PR-Package: emacs Original-Received: via spool by 68317-submit@debbugs.gnu.org id=B68317.170485726926994 (code B ref 68317); Wed, 10 Jan 2024 03:28:01 +0000 Original-Received: (at 68317) by debbugs.gnu.org; 10 Jan 2024 03:27:49 +0000 Original-Received: from localhost ([127.0.0.1]:41516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNPFt-00071K-2X for submit@debbugs.gnu.org; Tue, 09 Jan 2024 22:27:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNPFq-000712-BY for 68317@debbugs.gnu.org; Tue, 09 Jan 2024 22:27:48 -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 1rNPFc-0005I6-3D; Tue, 09 Jan 2024 22:27:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=HXj7XkLdkix/1tRvTa6UJ+FUbVE3r1lf8oP6SXDfbOc=; b=Ti8PWxiXwke2NRsjw3hA iMt9wJ77/7o/05UzFTrC6XEUtrX6zC6bXqGFZwb5E7DB8YUAsnA3lUNWy3cg3Wx7hgBmZsZ07Y+Zv 8nwclgRVZU71zWDOmOaszIOKTt6HyVdfddw8fjGmEAfnuv8nnVTIYeMNinxlrMb+bHMwEnNVtU7P/ YJNhksW9WeP6b2ZXQivUcJ4j8+D/yc8MK3IfKf6if4HAF90B0GUv5jeMTGOo+ok5oH+OXITp1KAI3 dtboldQGPWMXD9MR3fk+7RWNdTyKi7orvU7lsR4kkZ663ZEJzsJWtrtPEjPoipgohQcz+K6BCAqRI QefF4kVBfqUFcw==; In-Reply-To: <87plyaqmyk.fsf@posteo.net> (message from Philip Kaludercic on Tue, 09 Jan 2024 20:19:15 +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:277677 Archived-At: > From: Philip Kaludercic > Cc: joseph@breatheoutbreathe.in, 68317@debbugs.gnu.org > Date: Tue, 09 Jan 2024 20:19:15 +0000 > > Eli Zaretskii writes: > > >> From: Philip Kaludercic > >> Cc: Joseph Turner , 68317@debbugs.gnu.org > >> Date: Tue, 09 Jan 2024 19:25:44 +0000 > >> > >> Eli Zaretskii writes: > >> > >> >> version-to-list: Invalid version syntax: ‘c99367ebc2f0afe0baaf2f5e5ca1ad9d62ba6e21’ (must start with a number) > >> > > >> > Sounds like package-vc-commit should be modified to produce a valid > >> > version string (which SHA1 is not)? Philip? > >> > >> We can also adjust `package-menu--version-predicate' to handle > >> non-version numbers, which I think would be more robust. > > > > Fine by me, but can this be done safely enough for emacs-29? > > This would be a simple implementation, I don't know if it is safe enough > for you: Looks safe enough, thanks.