From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian =?utf-8?Q?Reu=C3=9Fe?= Subject: Re: bug: org-table-sort-lines does only case sensitive alphabetical sorting Date: Thu, 19 Jul 2018 13:20:06 +0200 Message-ID: <87601b5v6h.fsf@wirrsal.net> References: <87sh4zrn7i.fsf@nicolasgoaziou.fr> <87bmbaw5cf.fsf@nicolasgoaziou.fr> <87efg6ov77.fsf@wirrsal.net> <87y3ea4abe.fsf@wirrsal.net> 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]:46429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fg6yk-0006ZH-A6 for emacs-orgmode@gnu.org; Thu, 19 Jul 2018 07:20:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fg6yg-0001MT-9S for emacs-orgmode@gnu.org; Thu, 19 Jul 2018 07:20:14 -0400 Received: from wirrsal.net ([188.68.36.149]:56688 helo=mail.wirrsal.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fg6yf-0001IF-V6 for emacs-orgmode@gnu.org; Thu, 19 Jul 2018 07:20:10 -0400 In-reply-to: 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: Heikki Lehvaslaiho Cc: emacs-orgmode@gnu.org, Nicolas Goaziou Heikki Lehvaslaiho writes: > (string-collate-lessp "=C3=9F" "ssa" "de_DE.utf-8") ; nil > (string-lessp "=C3=9F" "ssa") ; nil This shows us that your Emacs installation does not support alphabetic sorting at all, regardless of case, and instead only sorts lexicographically (i.e., regardless of locale). This likely happens due to your platform not implementing wide characters in terms of ISO 10646. It is likely not related to your language environment, because the implementation of =E2=80=98string-collate-lessp=E2=80=99 ignores the langua= ge environment when a locale string is passed. Kind regards, SR --=20 Insane cobra split the wood Trader of the lowland breed Call a jittney, drive away In the slipstream we will stay