[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical
From: |
Sebastian Reuße |
Subject: |
Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting |
Date: |
Sat, 14 Jul 2018 14:31:08 +0200 |
User-agent: |
mu4e 1.1.0; emacs 26.1 |
Hello Nicolas, hello Heikki,
> Heikki Lehvaslaiho <address@hidden> writes:
>> I can not see any change in function with the new code. Alphabetical
>> sorting is fixedly case sensitive.
Is your Emacs≤24? Emacs (surprisingly) only gained a facility for
alphabetic (locale-sensitive) sorting with ver. 25. Before that, we will
resort to using «string-lessp», which only sorts lexicographically (i.e,
based on the binary character value, which means it is always
case-sensitive on Unicode systems).
If you are using GNU Emacs≥25, what locale are you using? FI_fi and most
of the other western locales are based on ISO-14651, so you should
always get case-*in*sensitive orderings, which is what I get with Emacs
26.1. So, evaluating the following should all yield «t»:
(string-collate-lessp "a" "x" "de_DE.utf-8" nil)
(string-collate-lessp "a" "X" "de_DE.utf-8" t)
(string-collate-lessp "a" "x" "fi_FI.utf-8" nil)
(string-collate-lessp "a" "X" "fi_FI.utf-8" t)
Kind regards,
Sebastian
--
Insane cobra split the wood
Trader of the lowland breed
Call a jittney, drive away
In the slipstream we will stay
- [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Heikki Lehvaslaiho, 2018/07/03
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Nicolas Goaziou, 2018/07/04
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Heikki Lehvaslaiho, 2018/07/12
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Nicolas Goaziou, 2018/07/14
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting,
Sebastian Reuße <=
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Heikki Lehvaslaiho, 2018/07/17
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Sebastian Reuße, 2018/07/17
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Heikki Lehvaslaiho, 2018/07/19
- Re: [O] bug: org-table-sort-lines does only case sensitive alphabetical sorting, Sebastian Reuße, 2018/07/19