From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Tramp sets LC_ALL to "C" Date: Thu, 08 Nov 2007 21:31:34 +0100 Message-ID: <87y7d8wkbd.fsf@gmx.de> References: <874pfxayd5.fsf@elegiac.orebokech.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194553870 17972 80.91.229.12 (8 Nov 2007 20:31:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2007 20:31:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 08 21:31:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IqE1r-00009G-SE for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2007 21:31:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqE1g-0008MH-2r for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2007 15:30:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IqE1c-0008MC-VZ for emacs-devel@gnu.org; Thu, 08 Nov 2007 15:30:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IqE1b-0008KB-5k for emacs-devel@gnu.org; Thu, 08 Nov 2007 15:30:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqE1b-0008Jt-23 for emacs-devel@gnu.org; Thu, 08 Nov 2007 15:30:51 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IqE1a-0005ho-DD for emacs-devel@gnu.org; Thu, 08 Nov 2007 15:30:50 -0500 Original-Received: (qmail invoked by alias); 08 Nov 2007 20:30:48 -0000 Original-Received: from p57A21C26.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.28.38] by mail.gmx.net (mp048) with SMTP; 08 Nov 2007 21:30:48 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18t1BU3N9wtbP9tvA6XKma8hAzmFZ3+Nrzd1V5yJY z6d4ir+7E/XBMT In-Reply-To: <874pfxayd5.fsf@elegiac.orebokech.com> (Romain Francoise's message of "Thu, 08 Nov 2007 10:19:02 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82822 Archived-At: Romain Francoise writes: Hi Romain, > The following changes are wrong, Tramp should not use `setenv' since > it modifies the global environment and thus affects other packages > which use subprocesses, such as Dired, shell-mode, etc. > > 2007-10-30 Michael Albinus > > * net/tramp.el (tramp-maybe-open-connection): Set $LC_ALL to "C". Should be OK now, using a local copy of `process-environment'. > 2007-10-31 Michael Albinus > > * net/tramp.el (tramp-open-connection-telnet) > (tramp-open-connection-rsh, tramp-open-connection-su) > (tramp-open-connection-multi): Set $LC_ALL to "C". That's EMACS_22_BASE. `process-environment' is already let-bound at the right level, no fix needed. Best regards, Michael.