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

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

bug#2889: ibuffer: sorting by KEY + secondary key (buffer name)


From: Jari Aalto
Subject: bug#2889: ibuffer: sorting by KEY + secondary key (buffer name)
Date: Sat, 04 Apr 2009 19:07:58 +0300

Severity: wishlist


M-x ibuffer
C-h m

Sorting commands:

  ',' - Rotate between the various sorting modes.
  's i' - Reverse the current sorting order.
  's a' - Sort the buffers lexicographically.
  's f' - Sort the buffers by the file name.
  's v' - Sort the buffers by last viewing time.
  's s' - Sort the buffers by size.
  's m' - Sort the buffers by major mode.

SUGGESTION

The commands currently sort by the KEY only.

But it would be helpful if the sorting were done by secondary KEY too;
the buffer name.

Instead of current behavior:

  s m

                                 Current Key
  ...                            |
  % emacs-lisp-my-s...       428 Dired by name
  % exam                    1699 Dired by name
  % all                     2524 Dired by name
  % new                      404 Dired by name
  % examples                 929 Dired by name
  % string                   292 Dired by name
  % fstream                  224 Dired by name
  % other                   2908 Dired by name
  % class                    470 Dired by name
  % argv                     281 Dired by name
  % struct                   223 Dired by name
  ..

The sencondary key would be used to determine the order. The result
being:

    Secondary key
    |
  % all                     2524 Dired by name
  % argv                     281 Dired by name
  % class                    470 Dired by name
  % emacs-lisp-my-s...       428 Dired by name
  % exam                    1699 Dired by name
  % examples                 929 Dired by name
  % fstream                  224 Dired by name
  % new                      404 Dired by name
  % other                   2908 Dired by name
  % string                   292 Dired by name
  % struct                   223 Dired by name






reply via email to

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