emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Heikki Lehvaslaiho <heikki.lehvaslaiho@gmail.com>
To: emacs-orgmode@gnu.org
Subject: bug: org-table-sort-lines does only case sensitive alphabetical sorting
Date: Tue, 3 Jul 2018 12:21:32 +0300	[thread overview]
Message-ID: <CAK=ukcY52dJpKxmzXNXd6J355KXSRZ-BYM92Fx-n81r9E9iLpw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

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äslaiho - skype:heikki_lehvaslaiho cell: +358 40 850 6640
http://about.me/heikki

[-- Attachment #2: Type: text/html, Size: 1571 bytes --]

             reply	other threads:[~2018-07-03  9:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03  9:21 Heikki Lehvaslaiho [this message]
2018-07-04 16:16 ` bug: org-table-sort-lines does only case sensitive alphabetical sorting Nicolas Goaziou
2018-07-12  6:58   ` Heikki Lehvaslaiho
2018-07-14  9:10     ` Nicolas Goaziou
2018-07-14 12:31       ` Sebastian Reuße
2018-07-17  6:24         ` Heikki Lehvaslaiho
2018-07-17  6:59           ` Sebastian Reuße
2018-07-19  7:29             ` Heikki Lehvaslaiho
2018-07-19 11:20               ` Sebastian Reuße

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK=ukcY52dJpKxmzXNXd6J355KXSRZ-BYM92Fx-n81r9E9iLpw@mail.gmail.com' \
    --to=heikki.lehvaslaiho@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).