[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strip accents and sorting [was: BibTeX issues]
From: |
Eli Zaretskii |
Subject: |
Re: strip accents and sorting [was: BibTeX issues] |
Date: |
Fri, 30 Aug 2019 21:38:25 +0300 |
> Date: Fri, 30 Aug 2019 20:51:32 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
>
> > Date: Fri, 30 Aug 2019 11:27:33 -0500
> > From: "Roland Winkler" <address@hidden>
> > Cc: Eli Zaretskii <address@hidden>,
> > address@hidden
> >
> > > 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.
- BibTeX issues, Joost Kremers, 2019/08/27
- Re: BibTeX issues, Roland Winkler, 2019/08/28
- Re: BibTeX issues, Eli Zaretskii, 2019/08/28
- strip accents and sorting [was: BibTeX issues], Roland Winkler, 2019/08/28
- Re: strip accents and sorting [was: BibTeX issues], martin rudalics, 2019/08/29
- Re: strip accents and sorting [was: BibTeX issues], Roland Winkler, 2019/08/30
- Re: strip accents and sorting [was: BibTeX issues], Eli Zaretskii, 2019/08/30
- Re: strip accents and sorting [was: BibTeX issues],
Eli Zaretskii <=
- Re: strip accents and sorting [was: BibTeX issues], Roland Winkler, 2019/08/30
- Re: strip accents and sorting [was: BibTeX issues], Eli Zaretskii, 2019/08/30
- Re: strip accents and sorting [was: BibTeX issues], Roland Winkler, 2019/08/30
- Re: strip accents and sorting [was: BibTeX issues], Eli Zaretskii, 2019/08/31
- Re: strip accents and sorting [was: BibTeX issues], Eli Zaretskii, 2019/08/29
- Re: strip accents and sorting [was: BibTeX issues], Roland Winkler, 2019/08/30
Re: BibTeX issues, Joost Kremers, 2019/08/29