[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Human-readable file sorting
From: |
Lars Ingebrigtsen |
Subject: |
Re: Human-readable file sorting |
Date: |
Sun, 21 Feb 2016 13:14:34 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> It's okay to sort file names using a comparison function that can be
> used with strings that are not file names. But if you call it
> "file-SOMETHING", then it will look weird if someone uses it to sort
> strings that are not file names.
That's true. But we were talking just about sorting file names, and
allowing the users to control how file name should be sorted. And
having that customisation apply to non-file functions, too, would be
rather odd.
But if we're instead talking about allowing the user to customise how
any and all strings should be sorted, then a function with "file" in its
name would be inappropriate.
But are we? :-) I don't know... perhaps we are? Perhaps what we want
to offer the users is "every time Emacs sorts strings, then it should be
done *this* way?" I have a feeling that there's plenty of opportunity
for breakage. Which there is for file sorting, too, but perhaps even
more so...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: dired and ls (was: Human-readable file sorting), (continued)
- Re: dired and ls, 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, Eli Zaretskii, 2016/02/20
- Re: Human-readable file sorting,
Lars Ingebrigtsen <=
- 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
- Re: Human-readable file sorting, Richard Stallman, 2016/02/23
- Re: Human-readable file sorting, Eli Zaretskii, 2016/02/23
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/23
- Re: Human-readable file sorting, Richard Stallman, 2016/02/24
- Re: Human-readable file sorting, Richard Stallman, 2016/02/24