From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: Alternative to string< that works "well" with unicode Date: Fri, 28 Nov 2014 01:32:00 +0100 Message-ID: <873894go73.fsf@gmx.us> References: <87egsourpc.fsf@kuiper.lan.informatimago.com> 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 1417134769 24799 80.91.229.3 (28 Nov 2014 00:32:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2014 00:32:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 28 01:32:42 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Xu9UH-0003gk-Lm for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 01:32:41 +0100 Original-Received: from localhost ([::1]:42099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu9UH-00051X-6v for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Nov 2014 19:32:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu9U0-00050A-No for help-gnu-emacs@gnu.org; Thu, 27 Nov 2014 19:32:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xu9Tu-00050F-1I for help-gnu-emacs@gnu.org; Thu, 27 Nov 2014 19:32:24 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:53834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu9Tt-000505-QR for help-gnu-emacs@gnu.org; Thu, 27 Nov 2014 19:32:17 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xu9Tt-0003Y7-5W for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 01:32:17 +0100 Original-Received: from 109.201.154.170 ([109.201.154.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Nov 2014 01:32:17 +0100 Original-Received: from rasmus by 109.201.154.170 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Nov 2014 01:32:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 109.201.154.170 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAADHSURBVEjH7VXBEQMhCLQiOqEYSqEOuqEhkseduRMk8MlkJtnnysqC imP8NIBEnxD0JFMQT3ZCpwRkcrzGs11wbAhXTu7xYuYUdOck9vNS4MpdXa1rpjDUkRAXcGxHATcF frMYZwooxhvuSt6B457uId8r4K6g3aX2OVRPWufVwGaCYtmcPKCsRVVF/qg9grmBSa8UwskkZTtz DoVJBJLxRyX3WRKFtzOWSu43Cq7NcSzadwqq/xXU8DMvivT+IzXoCZDGHx/EA6ex0LZqsBZsAAAA AElFTkSuQmCC User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:oS5S5mEWQEEnV/q3jC49cgV7/2U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101249 Archived-At: Yuri Khan writes: > On Fri, Nov 28, 2014 at 5:52 AM, Pascal J. Bourguignon > wrote: > >>> Is there a function that will support my preferred sorting in Emacs? >> >> AFAICS, there's nothing yet. > > I think Emacs bug#18051 is relevant. Thanks, the bug pointed me to `string-collate-lessp': (sort '(É E T A À Z) 'string-collate-lessp) => (A À E É T Z) Pretty cool! Thanks! -- The second rule of Fight Club is: You do not talk about Fight Club