emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp sets LC_ALL to "C"


From: Michael Albinus
Subject: Re: Tramp sets LC_ALL to "C"
Date: Thu, 08 Nov 2007 21:31:34 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Romain Francoise <address@hidden> 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  <address@hidden>
>
>       * 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  <address@hidden>
>
>       * 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]