GNU bug report logs - #2263
String comparison that takes locale into account

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 10 Feb 2009 07:40:11 UTC

Severity: wishlist

Merged with 12008

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: quiet <quiet <at> debbugs.gnu.org>
Subject: String comparison that takes locale into account
Date: Tue, 10 Feb 2009 02:31:06 -0500
Severity: wishlist

string-lessp sorts according to ASCII. It would be nice if there was a
similar, locale-specific, function (cf strcoll in C) that accepted a
collation order as an optional argument, perhaps defaulting to
LC_COLLATE.

This would be useful eg in authors.el:

http://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00315.html




This bug report was last modified 10 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.