[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Human-readable file sorting
From: |
Eli Zaretskii |
Subject: |
Re: Human-readable file sorting |
Date: |
Sat, 20 Feb 2016 10:53:24 +0200 |
> From: Lars Ingebrigtsen <address@hidden>
> Date: Sat, 20 Feb 2016 13:26:51 +1100
>
> The practical way to implement this is to provide a `file-string-lessp'
> function that can be configured to sort the way the user prefers,
> defaulting to human readable sorting, and then we adjust
> `directory-files' and other file-ey commands to call that instead of
> `string-lessp'.
Please don't call that function `file-string-lessp', or anything that
has "file" in it. This sorting order has nothing to do with files.
Names I can suggest include "logical", "intuitive", and "numerical".
Btw, ls-lisp by default doesn't use string-lessp, it uses
string-collate-lessp.
- RE: Human-readable file sorting, (continued)
- RE: Human-readable file sorting, Drew Adams, 2016/02/20
- dired and ls (was: Human-readable file sorting), Lars Ingebrigtsen, 2016/02/20
- Re: dired and ls, John Wiegley, 2016/02/20
- Re: dired and ls, Lars Ingebrigtsen, 2016/02/20
- Re: dired and ls, John Wiegley, 2016/02/20
- Re: dired and ls (was: Human-readable file sorting), Eli Zaretskii, 2016/02/20
- Re: dired and ls, John Wiegley, 2016/02/20
- Re: dired and ls, Eli Zaretskii, 2016/02/20
- Re: dired and ls, John Wiegley, 2016/02/20
- Re: dired and ls, Lars Ingebrigtsen, 2016/02/20
- Re: Human-readable file sorting,
Eli Zaretskii <=
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/20
- Re: Human-readable file sorting, Eli Zaretskii, 2016/02/20
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/20
- Re: Human-readable file sorting, Eli Zaretskii, 2016/02/20
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/20
- Re: Human-readable file sorting, Richard Stallman, 2016/02/21
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/21
- Re: Human-readable file sorting, Richard Stallman, 2016/02/22
- Re: Human-readable file sorting, Pierpaolo Bernardi, 2016/02/22
- Re: Human-readable file sorting, Eli Zaretskii, 2016/02/22