[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-org-table/sort-lines: Failing test on macOS
From: |
Ihor Radchenko |
Subject: |
Re: test-org-table/sort-lines: Failing test on macOS |
Date: |
Sun, 20 Nov 2022 04:18:47 +0000 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Max Nikulin <manikulin@gmail.com> writes:
>
>> > (string-collate-lessp "a" "B" "C" t) ; => nil
>> Actually you wrote
>>> [FYI: If I replace nil with t, the procedure returns nil too.]
>> From my point of view it is a reason to file an Emacs bug because I get
>>
>> (string-collate-lessp "a" "B" "C" t) ; => t
>
> I submitted the bug report to Emacs.
> See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59275
According to the discussion on debbugs, it looks like we can use
`compare-strings' instead. It will be independent of the system locale
and always follow Unicode rules.
However, I am not sure if ignoring locale is something we really want.
WDYT?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: test-org-table/sort-lines: Failing test on macOS, Ihor Radchenko, 2022/11/14
- Re: test-org-table/sort-lines: Failing test on macOS,
Ihor Radchenko <=
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/11/20
- Re: test-org-table/sort-lines: Failing test on macOS, Ihor Radchenko, 2022/11/20
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/11/21
- Re: test-org-table/sort-lines: Failing test on macOS, Ihor Radchenko, 2022/11/21
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/11/22
- Re: test-org-table/sort-lines: Failing test on macOS, Ihor Radchenko, 2022/11/23
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/11/23
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/11/23
- Re: test-org-table/sort-lines: Failing test on macOS, Ihor Radchenko, 2022/11/25
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/11/29