From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: environment variable don't get coding conversion Date: Sun, 26 Jan 2003 19:08:50 +0300 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1438-Sun26Jan2003190850+0200-eliz@is.elta.co.il> References: <200301250056.JAA11689@etlken.m17n.org> <2950-Sat25Jan2003200937+0200-eliz@is.elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1043601044 12063 80.91.224.249 (26 Jan 2003 17:10:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2003 17:10:44 +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 18cqIs-00038O-00 for ; Sun, 26 Jan 2003 18:10:42 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18cqMg-0001DU-00 for ; Sun, 26 Jan 2003 18:14:38 +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 18cqJu-00019D-05 for emacs-devel@quimby.gnus.org; Sun, 26 Jan 2003 12:11:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18cqJW-00010E-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 12:11:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18cqJI-0000MD-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 12:11:09 -0500 Original-Received: from thor.inter.net.il ([192.114.186.11]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18cqIz-0008EK-00; Sun, 26 Jan 2003 12:10:49 -0500 Original-Received: from zaretsky ([80.230.234.38]) by thor.inter.net.il (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id ASX01257; Sun, 26 Jan 2003 19:10:47 +0200 (IST) Original-To: rms@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from Richard Stallman on Sun, 26 Jan 2003 10:36:54 -0500) Original-cc: d.love@dl.ac.uk 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:11093 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11093 > From: Richard Stallman > Date: Sun, 26 Jan 2003 10:36:54 -0500 > > This would be true ordinarily, but here there is a more important > factor. The usual thing to do with environment variables is to pass > them through. Making sure that is solidly reliable is the highest > priority for environment variables. Does it really have to be more reliable than what we do with users' precious files? I'm not sure I see why the reliability of launching subprocesses is more important than potential loss of information due to incorrect decoding and encoding of user files. In any case, at least we should IMHO consider whether getenv and setenv need to decode and encode the environment variables' values. > Therefore we have to leave these strings in their original format. If this is the final decision, we probably should tell Lisp programmers (in the ELisp manual) how to deal with such unibyte strings in text processing.