From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: problems with alphabetic ordering in tables containing non ASCII chars Date: Tue, 05 Jul 2016 22:49:34 +0200 Message-ID: <8737nnizdt.fsf@saiph.selenimh> References: <87inwjzv8x.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKXHs-0006r1-KZ for emacs-orgmode@gnu.org; Tue, 05 Jul 2016 16:49:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKXHq-0001Nm-F8 for emacs-orgmode@gnu.org; Tue, 05 Jul 2016 16:49:43 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKXHq-0001Ng-9A for emacs-orgmode@gnu.org; Tue, 05 Jul 2016 16:49:42 -0400 Received: from saiph.selenimh (unknown [IPv6:2a03:a0a0:0:4301::b3c]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A04C3A80CB for ; Tue, 5 Jul 2016 22:49:40 +0200 (CEST) In-Reply-To: <87inwjzv8x.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 05 Jul 2016 20:26:54 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, Uwe Brauer writes: > Consider please the following example: > > | Anton | > | =C3=81lvarez | > | Arrieta | > > > org-table-sort-lines using alphabetic ordering results in > > > | Anton | > | Arrieta | > | =C3=81lvarez | > > Which is contra intuitive to say the least. The accented A should be > treated as if it did not have an accent resulting in > > | =C3=81lvarez | > | Anton | > | Arrieta | Alphabetic ordering uses `string-lessp', which doesn't fulfill your needs here. You can however, sort by an arbitrary function using f or F key. In any case, char folding is a complicated matter, because it really depends on the host language. I think development Emacs provides something like this. Regards, --=20 Nicolas Goaziou