Subject: bug#59275: Unexpected return value of `string-collate-lessp' on Mac

From: Robert Pluim <[email-masked]>
Date: Tue, 15 Nov 2022 10:51:42 +0100

>>>>> On Tue, 15 Nov 2022 04:08:13 +0000, Ihor Radchenko <[email-masked]> said:

    Ihor> Hi,
    Ihor> I am forwarding an issue originally reported on Org mailing list.
    Ihor> https://orgmode.org/list/[email-masked]

    Ihor> On Emacs 29 (adaa2fc90e) MacOS build:

    Ihor> (string-collate-lessp "a" "B" "C" t)  ; => nil

    Ihor> On Linux:

    Ihor> (string-collate-lessp "a" "B" "C" t) ; => t

    Ihor> The return value on MacOS is unexpected.

    Ihor> See more information, including locale date, in the Org ML thread.

I think this is expected. See the long thread on emacs-devel back in
July, eg
https://lists.gnu.org/archive/html/emacs-devel/2022-07/msg00940.html

(it resulted in the addition of `string-equal-ignore-case')

Robert
--