all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: sort-lines including non ASCII
Date: Fri, 08 Jul 2016 07:17:53 +0300	[thread overview]
Message-ID: <87bn283gr2.fsf@iki.fi> (raw)
In-Reply-To: <83a8htlbfs.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 07 Jul 2016 18:23:03 +0300")

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Eli Zaretskii [2016-07-07 18:23:03+03] wrote:

>> If we are allowed to step outside Emacs filtering lines through (GNU)
>> /usr/bin/sort should do what you want.
>
> Only if the locale outside Emacs is the one you want to use for
> collation. Emacs is a multilingual environment, so it supports
> multiple collating locales, independently of the system one.

Yes, Emacs is nice, but system's locale is just some installed files and
environment variables. They can be changed too. Here's an example how to
sort lines using locale fi_FI.UTF-8 in GNU systems:

    M-x shell-command-on-region RET LC_COLLATE=fi_FI.UTF-8 sort RET

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-07-08  4:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05 20:58 sort-lines including non ASCII Uwe Brauer
2016-07-05 21:57 ` Óscar Fuentes
2016-07-07  7:35   ` Uwe Brauer
2016-07-06 14:34 ` Eli Zaretskii
2016-07-06 14:52   ` Michael Heerdegen
2016-07-07  7:34     ` Uwe Brauer
2016-07-07 15:17       ` Eli Zaretskii
2016-07-07 16:30         ` Michael Heerdegen
2016-07-07 16:56           ` Eli Zaretskii
2016-07-07 17:32             ` Michael Heerdegen
2016-07-07 19:53               ` Eli Zaretskii
2016-07-07 22:55                 ` Michael Heerdegen
2016-07-08 10:01                   ` Eli Zaretskii
2016-07-14 21:10                     ` Michael Heerdegen
2016-07-14 21:14                       ` Clément Pit--Claudel
2016-07-14 21:19                       ` Noam Postavsky
2016-07-14 21:26                         ` Michael Heerdegen
2016-07-14 21:57                           ` Noam Postavsky
2016-07-08 13:40               ` Richard Stallman
2016-07-08 14:36                 ` Michael Heerdegen
2016-07-09 16:58                   ` Richard Stallman
2016-07-12 23:06                     ` John Wiegley
2016-07-07  7:41   ` Uwe Brauer
2016-07-07 15:20     ` Eli Zaretskii
2016-07-07 16:13       ` Uwe Brauer
2016-07-07 16:35         ` Eli Zaretskii
2016-07-07  8:23 ` Teemu Likonen
2016-07-07 15:23   ` Eli Zaretskii
2016-07-08  4:17     ` Teemu Likonen [this message]
2016-07-08  6:32       ` Eli Zaretskii
2016-07-08  6:36         ` Eli Zaretskii
2016-07-08  6:50           ` Teemu Likonen

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

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

  git send-email \
    --in-reply-to=87bn283gr2.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.