all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tramp sets LC_ALL to "C"
@ 2007-11-08  9:19 Romain Francoise
  2007-11-08 20:31 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Romain Francoise @ 2007-11-08  9:19 UTC (permalink / raw
  To: Michael Albinus; +Cc: emacs-devel

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  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-maybe-open-connection): Set $LC_ALL to "C".

2007-10-31  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-open-connection-telnet)
	(tramp-open-connection-rsh, tramp-open-connection-su)
	(tramp-open-connection-multi): Set $LC_ALL to "C".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Tramp sets LC_ALL to "C"
  2007-11-08  9:19 Tramp sets LC_ALL to "C" Romain Francoise
@ 2007-11-08 20:31 ` Michael Albinus
  2007-11-09  7:03   ` Romain Francoise
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2007-11-08 20:31 UTC (permalink / raw
  To: emacs-devel

Romain Francoise <romain@orebokech.com> 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  <michael.albinus@gmx.de>
>
> 	* 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  <michael.albinus@gmx.de>
>
> 	* 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Tramp sets LC_ALL to "C"
  2007-11-08 20:31 ` Michael Albinus
@ 2007-11-09  7:03   ` Romain Francoise
  0 siblings, 0 replies; 3+ messages in thread
From: Romain Francoise @ 2007-11-09  7:03 UTC (permalink / raw
  To: emacs-devel

Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> Should be OK now, using a local copy of `process-environment'.

Great, thanks for the quick fix.

> That's EMACS_22_BASE. `process-environment' is already let-bound
> at the right level, no fix needed.

Ok, I hadn't noticed.  Sorry.  :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-09  7:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-08  9:19 Tramp sets LC_ALL to "C" Romain Francoise
2007-11-08 20:31 ` Michael Albinus
2007-11-09  7:03   ` Romain Francoise

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.