From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9655: 24.0.50; `set-locale-environment' should use completion Date: Sun, 2 Oct 2011 12:45:03 -0700 Message-ID: <4C96B18257394010B38C38DDD093AA0F@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317584759 30046 80.91.229.12 (2 Oct 2011 19:45:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2011 19:45:59 +0000 (UTC) To: 9655@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 02 21:45:52 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 1RARyt-00052S-GU for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2011 21:45:47 +0200 Original-Received: from localhost ([::1]:50929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARyt-0007z8-5Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2011 15:45:47 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARyq-0007z3-Fd for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:45:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RARyp-0003hB-HI for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:45:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARyp-0003h7-EO for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:45:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAS06-0008WR-5M for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2011 19:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.131758478732718 (code B ref -1); Sun, 02 Oct 2011 19:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2011 19:46:27 +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 1RARzW-0008Ve-PK for submit@debbugs.gnu.org; Sun, 02 Oct 2011 15:46:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RARzU-0008VW-1f for submit@debbugs.gnu.org; Sun, 02 Oct 2011 15:46:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RARyB-0003Zf-Ob for submit@debbugs.gnu.org; Sun, 02 Oct 2011 15:45:04 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:50544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARyB-0003ZI-Ka for submit@debbugs.gnu.org; Sun, 02 Oct 2011 15:45:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARyA-0007qn-Gl for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:45:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RARy9-0003Ym-89 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:45:02 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:19579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARy8-0003Yi-WC for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:45:01 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p92JiwhA008182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 2 Oct 2011 19:45:00 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p92JivSj004187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 2 Oct 2011 19:44:58 GMT Original-Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p92Jiq68007558 for ; Sun, 2 Oct 2011 14:44:52 -0500 Original-Received: from dradamslap1 (/10.159.61.165) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 02 Oct 2011 12:44:52 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Thread-Index: AcyBO8detGRD/x3KRaSKUNNU0+Cotg== X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4E88BF3C.0011:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 02 Oct 2011 15:47: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:52080 Archived-At: The doc string says "LOCALE-NAME should be a string which is the name of a locale supported by the system." Isn't the set of locales supported by the system something that Emacs can determine, and then make these available as completion candidates? Why should a user have to investigate or guess which locales are choosable? 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? 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? It also looks like the code for this command should be split up/factored. Much of the command body is apparently about non-interactive use (e.g. nil LOCALE-NAME) - factor that out, for instance. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-09-19 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t