unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Alternative to string< that works "well" with unicode
@ 2014-11-27 22:42 Rasmus
  0 siblings, 0 replies; 6+ messages in thread
From: Rasmus @ 2014-11-27 22:42 UTC (permalink / raw)
  To: help-gnu-emacs

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?




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-28  8:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2014-11-27 22:42 Rasmus

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