From: Noam Postavsky <npostavs@users.sourceforge.net>
To: 30419@debbugs.gnu.org
Cc: michael albinus <michael.albinus@gmx.de>
Subject: bug#30419: tramp-sh-process-file: effect of tramp-remote-process-environment vs non-top level value of process-environment
Date: Sat, 10 Feb 2018 21:11:03 -0500 [thread overview]
Message-ID: <87d11cb7ig.fsf@users.sourceforge.net> (raw)
X-Debbugs-CC: Michael Albinus <michael.albinus@gmx.de>
Severity: minor
`(tramp) Remote processes' says:
TRAMP does not use the defaults specified in `process-environment'
for running `process-file' or `start-file-process' on remote hosts.
When values from `process-environment' are needed for remote processes,
then set them as follows:
(let ((process-environment (cons "HGPLAIN=1" process-environment)))
(process-file ...))
This works only for environment variables not already set in the
`process-environment'.
I'm confused as to why the environment variables aren't controlled by
tramp-remote-process-environment. Or is that in addition to the effect
of tramp-remote-process-environment? Does one take precedence over the
other?
next reply other threads:[~2018-02-11 2:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-11 2:11 Noam Postavsky [this message]
2018-02-11 9:37 ` bug#30419: tramp-sh-process-file: effect of tramp-remote-process-environment vs non-top level value of process-environment Michael Albinus
2018-02-11 14:28 ` Noam Postavsky
2018-02-12 8:52 ` Michael Albinus
2018-02-13 0:28 ` Noam Postavsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d11cb7ig.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=30419@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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 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.