emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Fix alphabetic sorting for headlines, tags


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] Fix alphabetic sorting for headlines, tags
Date: Mon, 12 Feb 2018 16:47:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Sebastian Reuße <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>
>> Sebastian Reuße <address@hidden> writes:
>
>>> The test will error out if the data for the chosen locale isn’t
>>> actually present on the system. I chose the «en_US» locale in the
>>> hopes that this will frequently be installed. I’ll leave it up to you
>>> to decide whether that is acceptable.
>
>> I used "C" locale instead. I think it is available on every system. So
>> basically, the test checks if we are not using string< for comparison.
>
> It looks like «string-collate-lessp», when used with the POSIX locale,
> is equivalent to «string<». The examples I tried out all came up the
> same, and [1] (headline «LC_COLLATE Category in the POSIX Locale») says
> the POSIX collation ordering is the same as the ASCII codeset. glibc
> adheres to this too (cf. /usr/share/i18n/locales/POSIX).

True. Somehow, I thought the would differ outside the ASCII range.

> In that case the extension to the test case might be better left out.

I'm going to remove this test. Thanks for the heads up.



reply via email to

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