From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heikki Lehvaslaiho Subject: bug: org-table-sort-lines does only case sensitive alphabetical sorting Date: Tue, 3 Jul 2018 12:21:32 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003690b6057014d86e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faHVT-0007lf-Ge for emacs-orgmode@gnu.org; Tue, 03 Jul 2018 05:21:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faHVS-0000ny-F8 for emacs-orgmode@gnu.org; Tue, 03 Jul 2018 05:21:55 -0400 Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:41346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faHVS-0000nI-9B for emacs-orgmode@gnu.org; Tue, 03 Jul 2018 05:21:54 -0400 Received: by mail-oi0-x230.google.com with SMTP id k12-v6so2393802oiw.8 for ; Tue, 03 Jul 2018 02:21:53 -0700 (PDT) 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 --0000000000003690b6057014d86e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 let variable sort-fold-case (not with-case) but fails to use either variable when sorting and always sorts with case. This is with the very latest org: Org mode version 9.1.13 (9.1.13-elpa @ /Users/helehvas/.emacs.d/elpa/org-20180702/) -Heikki Heikki Lehv=C3=A4slaiho - skype:heikki_lehvaslaiho cell: +358 40 850 6640 http://about.me/heikki --0000000000003690b6057014d86e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
org-sort has an optional argument with-case. By defau= lt its sorting ignores the case. When org-sort is called within a table, it= calls org-table-sort-line with the argument.=C2=A0org-table-sort-line de= fines a let variable sort-fold-case (not with-case) but fails to use either= variable when sorting and always sorts with case.

<= /span>
This is with the very latest org:
Org m= ode version 9.1.13 (9.1.13-elpa @ /Users/helehvas/.emacs.d/elpa/org-2018070= 2/)

=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
--0000000000003690b6057014d86e--