Ihor Radchenko <yanta...@posteo.net> writes: > Max Nikulin <maniku...@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>