On 26/11/2022 09:05, Ihor Radchenko wrote:
Max Nikulin writes:
This sounds like something to be adapted to Emacs upstream.
I suggested to change `string-collate-lessp' fallback behaviour to use
`downcase' when IGNORE-CASE is non-nil. See my last message in
bug#59275.
I do not share Eli's position "all or nothing". I prefer graceful
degradation and best result achievable with reasonable efforts.
However either the reason is performance or correctness, both variants
are against modification of `string-collate-lessp'. I still think that
Org will benefit from a compatibility wrapper with `downcase'.
The only additional consideration is that compare function should be
configurable. If a user access same files from Linux and macOS then it
may be really annoying to get different order of entries in agenda. For
most of Linux users it is better to use more smart
`string-collate-lessp'. Some care is required to sort entries obtained
from multiple buffers in predictable environment (locale, case
conversion table).