Subject: Re: bug#18051: [Emacs-diffs] trunk r117726: Add string collation.

From: Michael Albinus <[email-masked]>
Date: Mon, 25 Aug 2014 08:41:03 +0200

Dmitry Antipov <[email-masked]> writes:

> BTW, I think that collation functions with 3rd optional argument
> to specify locale settings will be a bit more versatile, e.g.
>
> (string-collate-lessp a b "es_ES.UTF-8")

We discuss this already, see <http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-08/msg00623.html>

My major reservation to this approach is that it doesn't fit well using
string-collate-lessp as predicate of sort. That's why I have proposed a
global variable as alternative, which could be let-bounded.

> Dmitry

Best regards, Michael.