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: environment variable don't get coding conversion Date: 21 Jan 2003 18:18:48 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200301170613.PAA12807@etlken.m17n.org> <200301200038.JAA16159@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043176988 2305 80.91.224.249 (21 Jan 2003 19:23:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 21 Jan 2003 19:23:08 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18b3zC-0000ac-00 for ; Tue, 21 Jan 2003 20:23:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18b4Ah-00066L-00 for ; Tue, 21 Jan 2003 20:34:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18b3kC-00061i-00 for emacs-devel@quimby.gnus.org; Tue, 21 Jan 2003 14:07:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18b3fY-0004cL-00 for emacs-devel@gnu.org; Tue, 21 Jan 2003 14:02:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18b3aY-0002mj-00 for emacs-devel@gnu.org; Tue, 21 Jan 2003 13:57:35 -0500 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18b2z8-0007e6-00; Tue, 21 Jan 2003 13:18:54 -0500 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.36 #1 (Debian)) id 18b2z2-0002kn-00; Tue, 21 Jan 2003 18:18:48 +0000 Original-To: Kenichi Handa Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-cc: rms@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10949 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10949 Kenichi Handa writes: > As far as I know, any coding system set in > locale-coding-system is stateless. None of them uses escape > sequences. The second entry in locale-language-names (Amharic) uses iso-2022-7bit, but I don't think that's really an issue. > > It might be better for user programs to decode the values > > if they want to. > > User programs? Then, what to do with M-x setenv? setenv and getenv must receive and return decoded text one way or another. (It seems to me that the basic problem is that the environment string is exposed to Lisp, presumably because it predates multilingual issues, and really shouldn't be. I think accessing it directly should be deprecated.)