GNU bug report logs - #20178
24.3; Two feature requests for tabulated-list.el

Previous Next

Package: emacs;

Reported by: Eli Barzilay <eli <at> barzilay.org>

Date: Mon, 23 Mar 2015 10:58:02 UTC

Severity: wishlist

Tags: moreinfo, patch

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Barzilay <eli <at> barzilay.org>
Cc: 20178 <at> debbugs.gnu.org
Subject: bug#20178: 24.3; Two feature requests for tabulated-list.el
Date: Mon, 19 Oct 2020 17:43:44 -0700
[Message part 1 (text/plain, inline)]
Eli Barzilay <eli <at> 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?
[0001-Reset-sort-order-on-third-click-in-tabulated-list-mo.patch (text/x-diff, attachment)]

This bug report was last modified 3 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.