[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19896: 23.1; reverse-region is slow compared to sort-columns
From: |
Ivan Shmakov |
Subject: |
bug#19896: 23.1; reverse-region is slow compared to sort-columns |
Date: |
Wed, 18 Feb 2015 19:13:00 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Eli Zaretskii <eliz@gnu.org> writes:
>>>>> From: Ivan Shmakov Date: Wed, 18 Feb 2015 18:29:08 +0000
[…]
>> On a GNU system (as well as on any other system featuring GNU
>> Coreutils), it should be possible to just use sort(1) for the
>> purpose. For instance, the “reverse” option is ‘-r’.
> But sort(1)'s sort order is locale-specific, whereas that of Emacs
> isn't.
How is that a disadvantage? The user can easily force any
locale of those available on the system with an explicit
LC_ALL=, like:
$ LC_ALL=de_DE.UTF-8 sort < list.de
$ LC_ALL=ru_RU.UTF-8 sort < list.ru
$ LC_ALL=C sort < list.ascii
For one thing, M-x sort-lines seems to put ё after я, while in
Russian it comes between е and ж. And similarly for ß (and the
accented letters) in German, etc.
--
FSF associate member #7257 np. Bombtrack — clawz/bomb … 3013 B6A0 230E 334A