[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort-lines including non ASCII
From: |
Uwe Brauer |
Subject: |
Re: sort-lines including non ASCII |
Date: |
Thu, 07 Jul 2016 07:35:34 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Uwe Brauer <address@hidden> writes:
> (sort (list "Arrieta" "Antón" "Álvarez") 'string-collate-lessp)
> If that doesn't work, check your LOCALE (or LANG) environment variable
> (see the docstring of string-collate-lessp for details).
> Someting like
> (sort (list "Antón" "Arrieta" "Álvarez")
> (lambda (a b)
> (string-collate-lessp a b "es_ES.UTF-8" t)))
> should do the right thing regardless of your environment variables (at
> least on GNU/Linux).
Thanks but suppose I have 100 lines, using your solution would be
cumbersome. Wouldn't it be better to modify sort-lines?
- sort-lines including non ASCII, Uwe Brauer, 2016/07/05
- Re: sort-lines including non ASCII, Óscar Fuentes, 2016/07/05
- Re: sort-lines including non ASCII,
Uwe Brauer <=
- Re: sort-lines including non ASCII, Eli Zaretskii, 2016/07/06
- Re: sort-lines including non ASCII, Michael Heerdegen, 2016/07/06
- Re: sort-lines including non ASCII, Uwe Brauer, 2016/07/07
- Re: sort-lines including non ASCII, Eli Zaretskii, 2016/07/07
- Re: sort-lines including non ASCII, Michael Heerdegen, 2016/07/07
- Re: sort-lines including non ASCII, Eli Zaretskii, 2016/07/07
- Re: sort-lines including non ASCII, Michael Heerdegen, 2016/07/07
- Re: sort-lines including non ASCII, Eli Zaretskii, 2016/07/07
- Re: sort-lines including non ASCII, Michael Heerdegen, 2016/07/07
- Re: sort-lines including non ASCII, Eli Zaretskii, 2016/07/08