From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: windows-1251 language environment Date: Mon, 20 Oct 2003 20:50:54 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310032356.54476.pogonyshev@gmx.net> <200310060013.52049.pogonyshev@gmx.net> <200310070254.LAA11795@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066679642 29548 80.91.224.253 (20 Oct 2003 19:54:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 19:54:02 +0000 (UTC) Cc: handa@m17n.org, emacs-devel@gnu.org, monnier@IRO.UMontreal.CA, jasonr@f2s.com, pogonyshev@gmx.net Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Oct 20 21:53:59 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABg6J-0003Lu-00 for ; Mon, 20 Oct 2003 21:53:59 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABg6J-0003PC-00 for ; Mon, 20 Oct 2003 21:53:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABg60-00005n-Rt for emacs-devel@quimby.gnus.org; Mon, 20 Oct 2003 15:53:40 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ABg4U-0007uN-ST for emacs-devel@gnu.org; Mon, 20 Oct 2003 15:52:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ABg3u-0007cr-1e for emacs-devel@gnu.org; Mon, 20 Oct 2003 15:52:01 -0400 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABg3N-0007Mk-5A; Mon, 20 Oct 2003 15:50:57 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1ABg3K-0002ne-00; Mon, 20 Oct 2003 20:50:54 +0100 Original-To: rms@gnu.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17271 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17271 Richard Stallman writes: > It sounds like you are saying that there's a more-or-less standard > for GNU and Unix systems, but that Windows is different. Is that > right? Actually, it looks as if I mis-interpreted eggert's comments in mule-cmds.el. They appear to say that the components of the name are standardized, but the Single Unix Spec v3 (now equivalent to POSIX?) actually says they are implementation-defined: If the locale value has the form: language[_territory][.codeset] it refers to an implementation-provided locale, where settings of language, territory, and codeset are implementation-defined. LC_COLLATE , LC_CTYPE , LC_MESSAGES , LC_MONETARY , LC_NUMERIC , and LC_TIME are defined to accept an additional field @ modifier, which allows the user to select a specific instance of localization data within a single category (for example, for selecting the dictionary as opposed to the character ordering of data). The syntax for these environment variables is thus defined as: [language[_territory][.codeset][@modifier]] Of the systems I can check, current Solaris, Tru64 and Irix do use the ISO language and territory codes. > What I said is that Emacs > should not *rely on* an external mechanism such as locales for > customization. It should provide an Emacs-natural customize mechanism > *also*. I don't think customization based on language, territory and codeset is really unnatural. (Which isn't to say that locales are perfect.) The relevant parameters can already be set individually in Lisp, obviously.