From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Setting file-name/process coding system from LANG Date: Wed, 20 Oct 2004 09:02:13 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200410181304.WAA24091@etlken.m17n.org> <200410191313.WAA27071@etlken.m17n.org> <20041019215111.GA9395@fencepost> <200410200621.PAA29245@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 1098277394 30447 80.91.229.6 (20 Oct 2004 13:03:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 13:03:14 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 20 15:03:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKG7J-0002vx-00 for ; Wed, 20 Oct 2004 15:03:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKGEh-0002sE-NG for ged-emacs-devel@m.gmane.org; Wed, 20 Oct 2004 09:10:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CKGEZ-0002rM-Mm for emacs-devel@gnu.org; Wed, 20 Oct 2004 09:10:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CKGEY-0002qs-Qw for emacs-devel@gnu.org; Wed, 20 Oct 2004 09:10:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKGEY-0002qo-IN for emacs-devel@gnu.org; Wed, 20 Oct 2004 09:10:30 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CKG6d-0008VQ-KH; Wed, 20 Oct 2004 09:02:19 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E5F228282DB; Wed, 20 Oct 2004 09:02:17 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id EA9074AC5FD; Wed, 20 Oct 2004 09:02:13 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 8CCD18CA23; Wed, 20 Oct 2004 09:02:13 -0400 (EDT) Original-To: Miles Bader In-Reply-To: (Miles Bader's message of "Wed, 20 Oct 2004 17:50:40 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28661 >> And, that means that even if one changes to latin-1 lang. env., >> file-name-coding-system is still utf-8. Is it ok? There is no latin-1 language, so the "latin-1 lang env" is an ill-defined concept anyway. Thus we can make it behave any way we want. > Yes, asking users to use set-locale-environment instead of > set-language-environment is one way. But, I've thought that > set-locale-environment is not a command we usually ask a > user to use, but a function that runs at startup time. Do > you mean to recommend users to use set-locale-environment > always? Yes, kind of. I'm not sure exactly what I want, but I just know that the structure in locales (mostly the distinction between language and encoding) is very helpful. I think we should move set-language-environment in this direction, or make set-locale-environment easier to use interactively and then recommend that. Stefan