From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heikki Lehvaslaiho Subject: Re: bug: org-table-sort-lines does only case sensitive alphabetical sorting Date: Thu, 12 Jul 2018 09:58:33 +0300 Message-ID: References: <87sh4zrn7i.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006c99800570c7e55c" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdVZ1-0005RY-Tp for emacs-orgmode@gnu.org; Thu, 12 Jul 2018 02:58:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdVZ0-0001QW-OT for emacs-orgmode@gnu.org; Thu, 12 Jul 2018 02:58:56 -0400 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:43919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdVZ0-0001Pw-HF for emacs-orgmode@gnu.org; Thu, 12 Jul 2018 02:58:54 -0400 Received: by mail-oi0-x236.google.com with SMTP id b15-v6so53848546oib.10 for ; Wed, 11 Jul 2018 23:58:54 -0700 (PDT) In-Reply-To: <87sh4zrn7i.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --0000000000006c99800570c7e55c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I can not see any change in function with the new code. Alphabetical sorting is fixedly case sensitive. I am definitely running the new code for org-table-sort-lines at the head of the master branch. I can see there have been changes. Universal argument does not change the behaviour, either. I am running this OS X High Sierra with English as a default language, so the problem should not be the locale. -Heikki Heikki Lehv=C3=A4slaiho - skype:heikki_lehvaslaiho cell: +358 40 850 6640 http://about.me/heikki On 4 July 2018 at 19:16, Nicolas Goaziou wrote: > Hello, > > Heikki Lehvaslaiho writes: > > > org-sort has an optional argument with-case. By default its sorting > ignores > > the case. When org-sort is called within a table, it calls > > org-table-sort-line with the argument. org-table-sort-line defines a le= t > > variable sort-fold-case (not with-case) but fails to use either variabl= e > > when sorting and always sorts with case. > > IIRC, it was fixed in master branch. Could you test it? > > Thank you. > > Regards, > > -- > Nicolas Goaziou > --0000000000006c99800570c7e55c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I can not see any change in function with the new code. Al= phabetical sorting is fixedly case sensitive.

I am defin= itely running the new code for=C2=A0org-table-sort-lines at the head of the= master branch. I can see there have been changes. Universal argument does = not change the behaviour, either.=C2=A0

I am runni= ng this OS X High Sierra with English as a default language, so the problem= should not be the locale.


=C2=A0 =C2=A0= =C2=A0 -Heikki

Heikki Lehv=C3=A4slaiho - skype:heikki_lehvaslaiho=C2=A0cell:=C2=A0+358 40 850 6640
http://a= bout.me/heikki

On 4 July 2018 at 19:16, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Heikki Lehvaslaiho <heik= ki.lehvaslaiho@gmail.com> writes:

> org-sort has an optional argument with-case. By default its sorting ig= nores
> the case. When org-sort is called within a table, it calls
> org-table-sort-line with the argument. org-table-sort-line defines a l= et
> variable sort-fold-case (not with-case) but fails to use either variab= le
> when sorting and always sorts with case.

IIRC, it was fixed in master branch. Could you test it?

Thank you.

Regards,

--
Nicolas Goaziou

--0000000000006c99800570c7e55c--