From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#64064: [PATCH 3/4] Don't sort bugs in 'debbugs-gnu-show-reports'. Date: Fri, 16 Jun 2023 12:26:03 +0200 Message-ID: <87edmbn1ok.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64064@debbugs.gnu.org To: Morgan Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 16 12:27:09 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 1qA6fd-0008C4-Do for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Jun 2023 12:27:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qA6fY-0006Os-7t; Fri, 16 Jun 2023 06:27: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 1qA6fW-0006Oj-Si for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2023 06:27: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 1qA6fW-0005tD-L7 for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2023 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qA6fW-0001vl-FQ for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2023 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Jun 2023 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64064 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64064-submit@debbugs.gnu.org id=B64064.16869111747362 (code B ref 64064); Fri, 16 Jun 2023 10:27:02 +0000 Original-Received: (at 64064) by debbugs.gnu.org; 16 Jun 2023 10:26:14 +0000 Original-Received: from localhost ([127.0.0.1]:48647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qA6ej-0001uf-LZ for submit@debbugs.gnu.org; Fri, 16 Jun 2023 06:26:13 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:38717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qA6eh-0001uS-0Q for 64064@debbugs.gnu.org; Fri, 16 Jun 2023 06:26:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1686911163; x=1687515963; i=michael.albinus@gmx.de; bh=h2DxChD3yzPyjVYyN+s8tf2XrUdntX+Xg5lfAyvVu0w=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=qQMVI73q9O9opOtFQPM83PbCjj4/qbDxySoCcG6fMDy3usdt2IG6fWdlwB+cQDsvcVnOhYw +b7oXtxG59JrmbfqT7F3cJAZwqnpCavYYRLugiVeF/qXdpOIP0/HN9Ci0lEFN/JjxpXJnoHQI y+noj6juzG5Ag6ecdimDr6CL8QUaoc7D3PUWtuG8vjnmxjYbD/FTf3fiUjxym2s2mxl9zX0Cm songXq9Ke4FZVRC8J+bclTbh+65phgl37if+pT89Y4H/3CmUHO27ZsJZCgwnd4JS+JPqeeL+2 6nGbSuH7gRBoswMJ7BjrtHmuNwh4twVDk+H8mChAixsR2xqy3Ciw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MRCK6-1qV3qZ2hym-00NCTT; Fri, 16 Jun 2023 12:26:03 +0200 In-Reply-To: (Morgan Smith's message of "Wed, 14 Jun 2023 08:15:57 -0400") X-Provags-ID: V03:K1:HjnTYKRcRvauHQNDg0b3CCqlXUvrvqhF+PSaTW6yedtr4ZI4Gk8 JYv81f/QNrNxe+mWREtwpoGhEvEk5t5JYr1kUtwQQ6om83+jlfdbFdl/ROTb2I7gutaavvZ UY+W6Xm0wWAubpeJKa2KxAnEwtAXGz7UWbAQYDwHuzarW4DLxJVFOTRYN18BjnmTJ7uxRET FEtqAGKngg8wldNbs3lBQ== UI-OutboundReport: notjunk:1;M01:P0:64LUSOEen9M=;mbVo7xOUklLGRQ6RzYKXokjgNys MQLPW6B90PaORVWr/zaiI/eRYs7+ErvhjQpznvTZQf2bM/Ks2wgzhqXJKJFlO4VH4H7YYAUPg 6pjtnNXeTeXls6O1kGs3KXBqWmVWu/RSoaCLo1Wy03CkfUjCDXbTAyYHrOqmPxflm+vRyTDR8 MztAPDUZNNwL4qbW46c7Om9v9sfXtTMQraAyLcQGuS90MJMVQGGS3BZT/sBnQjo5Dw4xsGv1H IPR0sP5xnPWh46V4bh+XvuqJp8xKu8iX/MUx3gJTCVejLz1xckVTbZ+3jg0XAptkwe4oaL4u/ lX7y7gNQUPTczN/9ud+Y3MvZ1wUGYNg2/sLW9drmDE2gabB+lhLTvtx5kakDMj613FmqAmrjR tPIzOWzDBAB8kiiXU1uozcyqZdLpkH/ae+8lk0SYPGxaURhx/woNzMmk8yC+Iw6CmYsk+x58V bJ6ZRRiZT/shjQKip9Fc2C63Nqvsc75wV52HaDnrXS0AMnaf03urcjd4Exvd6ZlElcTp2wQc9 1kchCcoKJRsU9Sm99c8B8tFylTLbOzGHw7rrmr084cMg0Q4cajYKTcYhQjLy4YJEtCP2wOWbJ dd7YalzeVKHg0FqknCczntWDNmZ102oXNrFD8dE41XeafH31vYXdfIIhbOSkgDRM9Qb1M2SG4 KO0aqo4hj6bl/YRnxZttWQ20s7RcxokW5RsIYIKJxZbvZO5VWMC64BgzmpKcXFWoMU69wUgFE aX+dW27iliIz9E9m9H73vGJv/lG0aRwLUOUKn1VQBISIcBkztx0yC0Nib9sfBKmSjTP5DctJ 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:263465 Archived-At: Morgan Smith writes: > Everything is automatically sorted by 'tabulated-list-mode' according to > 'tabulated-list-sort-key' which we already set to the id. > > * debbugs-gnu.el (debbugs-gnu-show-reports): Don't sort the bugs. > --- > debbugs-gnu.el | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/debbugs-gnu.el b/debbugs-gnu.el > index c28a4aa5e4..c65ea3e827 100644 > --- a/debbugs-gnu.el > +++ b/debbugs-gnu.el > @@ -923,7 +923,6 @@ are taken from the cache instead." > > ;; Print bug reports. > (dolist (status > - (sort > (let ((debbugs-cache-expiry (if offline nil debbugs-cache-expiry= )) > ids) > (apply #'debbugs-get-status > @@ -933,11 +932,7 @@ are taken from the cache instead." > (push key ids)) > debbugs-cache-data) > ids) > - (debbugs-gnu-get-bugs debbugs-gnu-local-query)))) > - ;; Sort so that if a new report gets merged with an old > - ;; report, it shows up under the new report. > - (lambda (s1 s2) > - (> (alist-get 'id s1) (alist-get 'id s2))))) > + (debbugs-gnu-get-bugs debbugs-gnu-local-query))))) > (let* ((id (alist-get 'id status)) > (words (cons (alist-get 'severity status) > (alist-get 'keywords status))) Have you tested that the use case mentioned in the comment still works? Best regards, Michael.