From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9655: 24.0.50; `set-locale-environment' should use completion Date: Mon, 03 Oct 2011 03:26:24 -0400 Message-ID: References: <4C96B18257394010B38C38DDD093AA0F@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317626811 23248 80.91.229.12 (3 Oct 2011 07:26:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2011 07:26:51 +0000 (UTC) Cc: 9655@debbugs.gnu.org To: drew.adams@oracle.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 03 09:26:47 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RAcvF-0006Xg-KY for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 09:26:45 +0200 Original-Received: from localhost ([::1]:45718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAcvE-0003JE-On for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 03:26:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAcvC-0003IC-54 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:26:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAcvB-0000d5-1t for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:26:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAcvB-0000d1-0N for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:26:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAcwU-0007of-Ec for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Oct 2011 07:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9655-submit@debbugs.gnu.org id=B9655.131762687230030 (code B ref 9655); Mon, 03 Oct 2011 07:28:02 +0000 Original-Received: (at 9655) by debbugs.gnu.org; 3 Oct 2011 07:27:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAcwI-0007oG-6W for submit@debbugs.gnu.org; Mon, 03 Oct 2011 03:27:51 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAcwF-0007o8-6O for 9655@debbugs.gnu.org; Mon, 03 Oct 2011 03:27:48 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RAcuu-0002FH-Us; Mon, 03 Oct 2011 03:26:25 -0400 In-reply-to: (message from Eli Zaretskii on Mon, 03 Oct 2011 03:14:46 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 03 Oct 2011 03:28:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:52102 Archived-At: > Date: Mon, 03 Oct 2011 03:14:46 -0400 > From: Eli Zaretskii > Cc: 9655@debbugs.gnu.org > Reply-To: Eli Zaretskii > > > From: "Drew Adams" > > Date: Sun, 2 Oct 2011 12:45:03 -0700 > > > > It also says: "The locale names supported by your system can typically > > be found in a directory named `/usr/share/locale' or `/usr/lib/locale'." > > This does not help users who are not on a UNIX/Gnu/Linux platform. > > Where can they be found on Windows, for instance? > > Nowhere a mere mortal can see it. The OS maintains the list of > supported locales, and will divulge it via a certain C-level API. But > you cannot find that list by searching files or directories, AFAIK. > As an interactive user, you can see the list in the Control Panel, but > programmatically the list is available only through that API. Forgot to mention that this API has a Lisp binding in Emacs: w32-get-valid-locale-ids. E.g., try (mapcar 'w32-get-locale-info (w32-get-valid-locale-ids))