GNU bug report logs -
#2889
ibuffer: sorting by KEY + secondary key (buffer name)
Previous Next
Reported by: Jari Aalto <jari.aalto <at> cante.net>
Date: Sat, 4 Apr 2009 16:15:03 UTC
Severity: wishlist
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2889 in the body.
You can then email your comments to 2889 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2889
; Package
emacs
.
(Sat, 04 Apr 2009 16:15:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jari Aalto <jari.aalto <at> cante.net>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 04 Apr 2009 16:15:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#2889
; Package
emacs
.
(Mon, 30 Sep 2019 08:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 2889 <at> debbugs.gnu.org (full text, mbox):
Jari Aalto <jari.aalto <at> cante.net> writes:
> 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.
(I'm going through old bug reports that unfortunately didn't get any
response at the time.)
I think that would be surprising behaviour. Currently the sorting
commands are "stable": That is, if you first reverse-sort by buffer
name, and then by size, all the buffers with identical size are then
reversed-sort by buffer name.
The proposed change would make that feature go missing, so I don't think
this would be a good change, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
2889 <at> debbugs.gnu.org and Jari Aalto <jari.aalto <at> cante.net>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 30 Sep 2019 08:10:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 28 Oct 2019 11:24:18 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.