MM <[email protected]> writes:

> Also, with M-x compile, i actually need to do remotely:    "cd <dir>
> && ./build.sh"
> So change to some dir and start a script that will launch the compiler.
>
> But then cd is interpreted as local cd, not remote cd.

How do you call "cd"? From the minibuffer? Then you would need to give
the whole Tramp name. From a *shell* buffer? Then it should work. From
an *eshell* buffer? Then you would need the Tramp name as well.

In order to avoid this struggle, it is recommend to use relative file
names. Something like "cd ../../src".

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to