emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-org-table/sort-lines: Failing test on macOS


From: Max Nikulin
Subject: Re: test-org-table/sort-lines: Failing test on macOS
Date: Tue, 29 Nov 2022 23:40:56 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]