From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Human-readable file sorting Date: Sun, 21 Feb 2016 22:21:51 +0200 Message-ID: <83h9h1n7a8.fsf@gnu.org> References: <87povs41xg.fsf@gnus.org> <87bn7c3yms.fsf@gnus.org> <83si0npxtn.fsf@gnu.org> <87si0nlirx.fsf@gnus.org> <8360xjpq91.fsf@gnu.org> <87oabbli5g.fsf@gnus.org> <87k2lzpijs.fsf@gmail.com> <878u2ekdpq.fsf@gnus.org> <87h9h2pg0b.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1456086141 16042 80.91.229.3 (21 Feb 2016 20:22:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Feb 2016 20:22:21 +0000 (UTC) Cc: larsi@gnus.org, flexibeast@gmail.com, emacs-devel@gnu.org To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 21 21:22:16 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aXaWF-0001Jr-T2 for ged-emacs-devel@m.gmane.org; Sun, 21 Feb 2016 21:22:16 +0100 Original-Received: from localhost ([::1]:43865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXaWF-0005iY-6Z for ged-emacs-devel@m.gmane.org; Sun, 21 Feb 2016 15:22:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXaW8-0005Wl-HW for emacs-devel@gnu.org; Sun, 21 Feb 2016 15:22:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXaW3-0006qB-AP for emacs-devel@gnu.org; Sun, 21 Feb 2016 15:22:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXaW3-0006q6-7M; Sun, 21 Feb 2016 15:22:03 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4335 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXaW2-0005rP-AY; Sun, 21 Feb 2016 15:22:02 -0500 In-reply-to: (message from Yuri Khan on Mon, 22 Feb 2016 01:27:23 +0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200401 Archived-At: > From: Yuri Khan > Date: Mon, 22 Feb 2016 01:27:23 +0600 > Cc: Lars Ingebrigtsen , Eli Zaretskii , Emacs developers > > Sorting lexicographically by codepoint has the issue that it is not > consistent with composition equivalence. E.g. U+00E0 “Latin small > letter a with acute” is equivalent to U+0061 U+0301 (“Latin small > letter a” followed by “Combining acute accent”), but codepoint sorting > will sort them far away. If you need this, use string-collate-lessp in a UTF-8 locale.