unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Shmakov <ivan@siamics.net>
To: 19896@debbugs.gnu.org
Subject: bug#19896: 23.1; reverse-region is slow compared to sort-columns
Date: Wed, 18 Feb 2015 19:13:00 +0000	[thread overview]
Message-ID: <87twyj6nk3.fsf@violet.siamics.net> (raw)
In-Reply-To: <83zj8b3uys.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Feb 2015 21:01:15 +0200")

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





  reply	other threads:[~2015-02-18 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1372534272.5818344.1424278471675.JavaMail.zimbra@comcast.net>
2015-02-18 17:35 ` bug#19896: 23.1; reverse-region is slow compared to sort-columns asparagus
2015-02-18 18:29   ` Ivan Shmakov
2015-02-18 19:01     ` Eli Zaretskii
2015-02-18 19:13       ` Ivan Shmakov [this message]
2015-02-18 19:29         ` Eli Zaretskii
     [not found]   ` <1358494426.5913572.1424285832847.JavaMail.zimbra@comcast.net>
2015-02-18 19:19     ` bug#19896: asparagus
     [not found]   ` <215096857.10629626.1424972910085.JavaMail.zimbra@comcast.net>
2015-02-26 17:53     ` bug#19896: Please modify documentation to close this bug asparagus
2015-04-19  0:49       ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twyj6nk3.fsf@violet.siamics.net \
    --to=ivan@siamics.net \
    --cc=19896@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).