From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12008: Alphabetic sorting respect user's language and/or locale Date: Mon, 23 Jul 2012 17:49:49 +0200 Message-ID: <500D729D.8050708@gmx.at> References: <500ABD92.5050104@gmx.at> <83liid14u0.fsf@gnu.org> <83boj724yn.fsf@gnu.org> <500D1ABD.40801@gmx.at> <83vchezdw4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343058574 24356 80.91.229.3 (23 Jul 2012 15:49:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2012 15:49:34 +0000 (UTC) Cc: 12008@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 23 17:49:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1StKt3-0003ay-9u for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2012 17:49:33 +0200 Original-Received: from localhost ([::1]:57717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StKt2-0003Dt-KY for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2012 11:49:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StKsz-0003Dn-KG for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 11:49:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StKsy-0006b7-MS for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 11:49:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StKsy-0006b3-J4 for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 11:49:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1StKzK-000898-GV for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 11:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jul 2012 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12008 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12008-submit@debbugs.gnu.org id=B12008.134305894931272 (code B ref 12008); Mon, 23 Jul 2012 15:56:02 +0000 Original-Received: (at 12008) by debbugs.gnu.org; 23 Jul 2012 15:55:49 +0000 Original-Received: from localhost ([127.0.0.1]:32943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StKz7-00088L-HM for submit@debbugs.gnu.org; Mon, 23 Jul 2012 11:55:49 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:43290) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1StKz5-000889-7E for 12008@debbugs.gnu.org; Mon, 23 Jul 2012 11:55:48 -0400 Original-Received: (qmail invoked by alias); 23 Jul 2012 15:49:11 -0000 Original-Received: from 62-47-50-184.adsl.highway.telekom.at (EHLO [62.47.50.184]) [62.47.50.184] by mail.gmx.net (mp036) with SMTP; 23 Jul 2012 17:49:11 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+wJEZaAnqwhNI6exh9UqZQklPB8zhSIQORtJgW6X tgy6d5VDBjjl+L In-Reply-To: <83vchezdw4.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62312 Archived-At: >> Ideally, it should be possible to specify a locale-independent behavior. > > I'm confused: what is "locale-independent behavior" in this context? > Do you mean the ability to request a collation specific for the German > locale when your current system locale is something else? Yes. > If so, this > is not locale-independent behavior as I understand it. If you mean > something else, please elaborate. > >> > (And btw, AFAIK Dired doesn't sort, it relies on 'ls' to do so, and >> > 'ls' uses 'strcoll' to sort file names. >> >> I suppose this doesn't hold for the `ls' coming with GnuWin32. > > Why do you think so? The code calls strcoll even on Windows. But how do I request it when calling `ls'? Or, maybe better, what can I do to have `ls' respect my locale? martin