[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:18:57 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Alexis <address@hidden> writes:
> But, having read all the other posts in this discussion, i'm still not
> clear whether `logical-string-lessp` would use `string-collate-lessp`
> "under the hood" (or at least follow the value of LC_COLLATE or its
> closest equivalent)? i ask due to things like this:
>
> https://github.com/flexibeast/org-vcard/issues/18#issuecomment-92006062
I didn't know about `string-collate-lessp'. Looking at the code, it
seems to end up calling wcscoll (gotta love C library function names).
Which sorts according to the LC_COLLATE locale setting...
Hm... I guess the numerical string sorting function could use that to
sort the textual segments. Or perhaps there should be one with and one
without? That is, the built-in sorting arsenal would be `unicode',
`collate', `numerical', and `numerical-and-collate'?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: dired and ls, (continued)
- 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, 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, 2016/02/20
- Re: Human-readable file sorting, Alexis, 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, Alexis, 2016/02/21
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/21
- Re: Human-readable file sorting, Yuri Khan, 2016/02/21
- Re: Human-readable file sorting, Eli Zaretskii, 2016/02/21
- Re: Human-readable file sorting, Pierpaolo Bernardi, 2016/02/20
- Re: Human-readable file sorting, Eli Zaretskii, 2016/02/20
- Re: Human-readable file sorting, Richard Stallman, 2016/02/21
- RE: Human-readable file sorting, Herring, Davis, 2016/02/20
- Re: Human-readable file sorting, Paul Eggert, 2016/02/20
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/20