Hello Nicolas, hello Heikki, > Heikki Lehvaslaiho <heikki.lehvasla...@gmail.com> 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