From: Eli Zaretskii <eliz@gnu.org>
To: winkler@gnu.org
Cc: rudalics@gmx.at, emacs-devel@gnu.org
Subject: Re: strip accents and sorting [was: BibTeX issues]
Date: Fri, 30 Aug 2019 21:38:25 +0300 [thread overview]
Message-ID: <837e6ua47y.fsf@gnu.org> (raw)
In-Reply-To: <838sraa6e3.fsf@gnu.org> (message from Eli Zaretskii on Fri, 30 Aug 2019 20:51:32 +0300)
> Date: Fri, 30 Aug 2019 20:51:32 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: rudalics@gmx.at, emacs-devel@gnu.org
>
> > Date: Fri, 30 Aug 2019 11:27:33 -0500
> > From: "Roland Winkler" <winkler@gnu.org>
> > Cc: Eli Zaretskii <eliz@gnu.org>,
> > emacs-devel@gnu.org
> >
> > > But (string-collate-lessp "ä-umlaut" "ö-combine") gives t
> >
> > ...not for me, which is likely due to my locale LC_COLLATE=C
> >
> > I could use instead, say, LC_COLLATE=en_US.utf8. Then the above
> > call of string-collate-lessp yields t. But this also implies case
> > folding and ignoring dots in directory listings, which is not what I
> > want. In other words, these locales have too many features bundled
> > together.
>
> You could set LC_COLLATE=en_US.utf8 inside Emacs, or even bind it
> around the call to string-collate-lessp. I think we support that on
> GNU/Linux.
Actually, string-collate-lessp accepts an optional argument LOCALE
that can be used for that. So it's even easier than I remembered.
next prev parent reply other threads:[~2019-08-30 18:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-27 8:40 BibTeX issues Joost Kremers
2019-08-28 17:45 ` Roland Winkler
2019-08-28 18:45 ` Eli Zaretskii
2019-08-29 3:26 ` strip accents and sorting [was: BibTeX issues] Roland Winkler
2019-08-29 6:15 ` martin rudalics
2019-08-30 16:27 ` Roland Winkler
2019-08-30 17:51 ` Eli Zaretskii
2019-08-30 18:38 ` Eli Zaretskii [this message]
2019-08-30 19:09 ` Roland Winkler
2019-08-30 19:19 ` Eli Zaretskii
2019-08-30 19:49 ` Roland Winkler
2019-08-31 6:45 ` Eli Zaretskii
2019-08-29 7:10 ` Eli Zaretskii
2019-08-30 16:29 ` Roland Winkler
2019-08-29 7:49 ` BibTeX issues Joost Kremers
2019-08-30 19:18 ` Roland Winkler
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=837e6ua47y.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
--cc=winkler@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.