From: Rasmus <rasmus@gmx.us>
To: help-gnu-emacs@gnu.org
Subject: Alternative to string< that works "well" with unicode
Date: Thu, 27 Nov 2014 23:42:06 +0100 [thread overview]
Message-ID: <877fyggta9.fsf@gmx.us> (raw)
Hi,
I want to sort a list of strings, including accented strings, in a
"meaningful way". E.g. with this list (É E T A À Z) the sorted list
should be (A À E É T Z).
(sort '(É E T A À Z) 'string<)
=> (A E T Z À É) ; expected (A À E É T Z)
I tried all the versions of 'string< that I could find with apropos.
Is there a function that will support my preferred sorting in Emacs?
Thanks,
Rasmus
--
What will be next?
next reply other threads:[~2014-11-27 22:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-27 22:42 Rasmus [this message]
[not found] <mailman.14831.1417128158.1147.help-gnu-emacs@gnu.org>
2014-11-27 23:52 ` Alternative to string< that works "well" with unicode Pascal J. Bourguignon
2014-11-28 0:06 ` Yuri Khan
2014-11-28 0:32 ` Rasmus
2014-11-28 8:25 ` Eli Zaretskii
2014-11-28 8:43 ` Rasmus
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=877fyggta9.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=help-gnu-emacs@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.
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).