GNU bug report logs - #13411
24.2.91; Sorting in Buffer Menu Mode

Previous Next

Package: emacs;

Reported by: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>

Date: Thu, 10 Jan 2013 22:11:02 UTC

Severity: normal

Found in version 24.2.91

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: 24.2.91; Sorting in Buffer Menu Mode
Date: Thu, 10 Jan 2013 13:40:39 -0500
The old Buffer Menu Mode would sort only on 4 columns:

 M-x buffer-menu -- sort by display time
 M-2 M-x Buffer-menu-sort -- sort by name
 M-3 M-x Buffer-menu-sort -- sort by size (ascending)
 M-4 M-x Buffer-menu-sort -- sort by mode
 M-5 M-x Buffer-menu-sort -- sort by file name
 M-x Buffer-menu-sort -- go back to sorting by display time

The new Bufer Menu Mode can sort on 7 fields:

 M-x buffer-menu -- sort by display time
 M-0 M-x Buffer-menu-sort -- sort by current buffer (there is none!)
 M-1 M-x Buffer-menu-sort -- sort by read-only
 M-2 M-x Buffer-menu-sort -- sort by modification flag
 M-3 M-x Buffer-menu-sort -- sort by name
 M-4 M-x Buffer-menu-sort -- sort by size (descending)
 M-5 M-x Buffer-menu-sort -- sort by mode
 M-6 M-x Buffer-menu-sort -- sort by file name
 M-x Buffer-menu-sort -- sort by the column at point

Repeating any of these twice reverses the order.  If sorting by size
descending, then sorting by size again switches to ascending.

I can live with these changes except for one:  How do I disable
sorting so that it goes back to the default order of buffer-list?  The
only way to do is to kill the buffer for Buffer Menu and run C-x C-b
to reopen it.

 M-x buffer-menu -- update the list, but keep the sort
 C-x k RET M-x buffer-menu -- go back to sorting by display time

Maybe it could with the M-0 argument since it's not being used.  Or
maybe a M-- argument since negative columns don't exist?  Although,
with 7 columns to remember now, maybe sorting the second to last
column with M-- M-2 should be available.

Otherwise looking forward to Emacs 24.3!
aaron

-- 
In general, we reserve the right to have a poor
memory--the computer, however, is supposed to
remember!  Poor computer.  -- Guy Lewis Steele Jr.




This bug report was last modified 4 years and 30 days ago.

Previous Next


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