bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20178: 24.3; Two feature requests for tabulated-list.el


From: Stefan Kangas
Subject: bug#20178: 24.3; Two feature requests for tabulated-list.el
Date: Mon, 19 Oct 2020 17:43:44 -0700

Eli Barzilay <eli@barzilay.org> writes:

>> What is the expected behavior here?  Does it make sense to make `C-u S'
>> go back to the default sort order?  Or should perhaps a right click at
>> the relevant column header reset it?
>
> FWIW, I'd expect a click to go from nothing to ascending to descending
> back to nothing.

Right.  But this would only be useful in certain buffers, so I'd suggest
this behavior to be optional.

The attached patch should do it.  Comments welcome.

(And as I'm about to send this, I realize that we would probably want
the same behavior also for the `tabulated-list-sort' command?  Either
for consecutive invocations or for the prefix argument.)

>> (Note that `electric-buffer-list' is the same as `list-buffers' for our
>> purposes here.)
>
> (Just tried `electric-buffer-list` again, it is broken in an amusing
> way for me, where a click leads to some infinite loop that keeps the
> window top following the mouse...)

Sounds like you have stumbled into a bug that should be reported?

Attachment: 0001-Reset-sort-order-on-third-click-in-tabulated-list-mo.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]