unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: Tramp sets LC_ALL to "C"
Date: Thu, 08 Nov 2007 21:31:34 +0100	[thread overview]
Message-ID: <87y7d8wkbd.fsf@gmx.de> (raw)
In-Reply-To: <874pfxayd5.fsf@elegiac.orebokech.com> (Romain Francoise's message of "Thu, 08 Nov 2007 10:19:02 +0100")

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.

  reply	other threads:[~2007-11-08 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08  9:19 Tramp sets LC_ALL to "C" Romain Francoise
2007-11-08 20:31 ` Michael Albinus [this message]
2007-11-09  7:03   ` Romain Francoise

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y7d8wkbd.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).