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#30129: 25.3; ibuffer sorting order does not return to normal after using `ibuffer-invert-sorting' twice Date: Thu, 04 Feb 2021 13:00:16 +0100 Message-ID: <87zh0kqbzj.fsf@gnus.org> References: <877dnorrtx.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28967"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 30129@debbugs.gnu.org To: Windy Tusooa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 04 13:01:37 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 1l7dKJ-0007QI-RJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Feb 2021 13:01:35 +0100 Original-Received: from localhost ([::1]:60954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7dKG-0000bb-9V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Feb 2021 07:01:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7dJn-0000bQ-3T for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 07:01:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7dJl-0005j2-OV for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 07:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7dJl-0001SK-MI for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 07:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2021 12:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 30129-submit@debbugs.gnu.org id=B30129.16124400325544 (code B ref 30129); Thu, 04 Feb 2021 12:01:01 +0000 Original-Received: (at 30129) by debbugs.gnu.org; 4 Feb 2021 12:00:32 +0000 Original-Received: from localhost ([127.0.0.1]:40085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7dJG-0001RL-SE for submit@debbugs.gnu.org; Thu, 04 Feb 2021 07:00:31 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:56780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7dJC-0001R3-If for 30129@debbugs.gnu.org; Thu, 04 Feb 2021 07:00:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=Z3KgUg1nzycFaRvSgl97QNC6wSI9Yz1Z+W8OUq2YJIM=; b=oZFLq73BT0sb62whg7b/Z+PsHj aNhS0IlNdp/dyXlxgGtC2sfkxqWywj157IgaCd7YPAFfqqBnxEZHYpaXv0+ju/WI17y4+hBPQHM3K dXJDQ5jKABl/AqvR/ne4NWHE11T3C+GXZJtBj8jlJbyLwA/SqIidQmOR7FFtv6b3XLoA=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7dJ3-0006tO-Oa; Thu, 04 Feb 2021 13:00:20 +0100 X-Now-Playing: Debby Friday's _Bitchpunk_: "MEDUSA" In-Reply-To: <877dnorrtx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 04 Feb 2021 12:32:42 +0100") 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:199292 Archived-At: Lars Ingebrigtsen writes: > Windy Tusooa writes: > >> In ibuffer-mode, the command `ibuffer-invert-sorting=E2=80=99 reverse the >> order of buffers. But when the command is used the second time, the >> order does not return to normal. > > If you call it three times, it does return to normal. :-) Until you > hit `g' again. > > This should now work better in Emacs 28. Uhm, not really -- the problem is that every time ibuffer-redisplay is called, the order is inverted... since there is no explicit `recency' sorter. I've now added such a sorter, and that fixes the problem. However, this effectively reverts e782065477917c10759d618e43b2ec18330ffae3, which made calling `ibuffer-do-sort-by-recency' twice (permanently) reverse the sorting order... which I think is pretty odd, since there's already a command for that. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no