bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#31318: emacs-26 fns-tests-collate-sort failure on glibc 2.27


From: Paul Eggert
Subject: bug#31318: emacs-26 fns-tests-collate-sort failure on glibc 2.27
Date: Mon, 30 Apr 2018 17:39:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 04/30/2018 12:50 PM, Eli Zaretskii wrote:

you are saying that 'ls' now sorts differently in UTF-8
locales on Fedora 28?  That is, it no longer ignores punctuation in
file names?  Doesn't that cause user outcry?

Yes, that's what I'm saying, at least for en_US.utf8. I haven't heard any user outcry. Not that I've been listening for one....

This is backwards: Windows needs enu_USA, not en_US.UTF-8 (which is
not supported on Windows).

Thanks, that was a silly typo. Revised patch attached, for the emacs-26 branch.

Why did they change the collation order?


To be more consistent with other platforms, as I understand it. The idea is to do collation consistent with ISO/IEC 14651 <https://www.iso.org/standard/68309.html>. For more details, please see <https://sourceware.org/bugzilla/show_bug.cgi?id=14095>.

Regardless of whether one thinks the change was a good idea, the Emacs tests should be portable to any POSIX platform, and since POSIX does not specify how the en_US.utf8 locale works the tests should not insist on either the old glibc implementation or the new one.

Attachment: 0001-Port-collation-tests-to-glibc-2.27.patch
Description: Text Data


reply via email to

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