GNU bug report logs -
#30129
25.3; ibuffer sorting order does not return to normal after using `ibuffer-invert-sorting' twice
Previous Next
Reported by: Windy Tusooa <tusooa <at> vista.aero>
Date: Mon, 15 Jan 2018 16:17:05 UTC
Severity: minor
Tags: fixed
Found in version 25.3
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #18 received at 30129 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Windy Tusooa <tusooa <at> vista.aero> writes:
>
>> In ibuffer-mode, the command `ibuffer-invert-sorting’ 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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.