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:14:46 -0400 Message-ID: References: <4C96B18257394010B38C38DDD093AA0F@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317626153 19278 80.91.229.12 (3 Oct 2011 07:15:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2011 07:15:53 +0000 (UTC) Cc: 9655@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 03 09:15:46 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 1RAckc-0003Ch-JJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 09:15:46 +0200 Original-Received: from localhost ([::1]:51187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAckc-0001gL-3x for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 03:15:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAckY-0001gF-Ns for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:15:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAckW-000723-Uo for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:15:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAckW-00071z-TL for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:15:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAclq-0007ZH-59 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 03:17: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:17: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.131762617229016 (code B ref 9655); Mon, 03 Oct 2011 07:17:02 +0000 Original-Received: (at 9655) by debbugs.gnu.org; 3 Oct 2011 07:16:12 +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 1RAcl1-0007Xw-HI for submit@debbugs.gnu.org; Mon, 03 Oct 2011 03:16:12 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAckz-0007Xo-2X for 9655@debbugs.gnu.org; Mon, 03 Oct 2011 03:16:10 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RAcje-00016M-LZ; Mon, 03 Oct 2011 03:14:46 -0400 In-reply-to: <4C96B18257394010B38C38DDD093AA0F@us.oracle.com> (drew.adams@oracle.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 03 Oct 2011 03:17: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:52100 Archived-At: > 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. > Some of the code looks as if it is specific to UNIX/Gnu/Linux/X-Window. > Should the setting of `locale-translation-file-name' be specific to such > systems, for instance? Maybe, but I'm not sure a simple test for file's existence is worth ugly system-dependent conditions. If nothing else, it allows Windows users to have locale translations, something that could be considered a feature.