unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Question about tramp and remote environment.
@ 2019-03-23  1:10 Ergus
  2019-03-23  6:54 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Ergus @ 2019-03-23  1:10 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all:

I have a question about tramp usage when working in clusters.

In clusters normally there are modules that the user needs to load
dynamically for tasks like compiling a file.

When using tramp the expected behavior should be that once I open a
remote file and I want to build it with a version of make (or gcc, or
use gtags remotely, ) in a module I should do:

M-! module load xyz

and then the remote path will be changed. 

But when I try this, the remote environment is not modified. If I print
the paths they are always the same.

If I try something simpler like:

M-! export var=1
M-! echo $var

It doesn't work either. So is this a design choice?

In any case what's the recommended workflow to use modules in this kind
of dynamic environments with modules?

Maybe there is a package I don't know?

Thanks in advance,
Ergus



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

end of thread, other threads:[~2019-03-23  6:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-23  1:10 Question about tramp and remote environment Ergus
2019-03-23  6:54 ` Eli Zaretskii

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).