Hi: I use tramp to edit and review code in clusters but I am dealing with some issues and I don't find a convincing answer in google/stackoverflow/tramp-manual, so it is better maybe to ask you.
1) I have some applications in a non default remote path (gtags, rg, git) and these can be used from some emacs packages like counsel. The path is different for every server I touch. What's the canonical method to modify the tramp-remote-path depending of the remote server I am connected to? Or where in the remote server I should modify the PATH in order to help tramp to find them. I tried adding the path in the ~/.profile as: ``` PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME PATH=$HOME/myinstall/utils/bin:$PATH export PATH ``` But this didn't work. The tramp manual explains to set the tramp-remote-path, but what should we do when we have multiple servers to access constantly? May I use some if in list? whats the variable to compare in that case? Is it possible to use one of the alist in the documentation, or there is something missing in the .profile code? 2) One a bit more complex: Normally some servers use modules and I need to load them before compiling a file for example or execute a specific : M-x extended_command Do you have any suggestion for this workflow?? Thanks in advance Ergus _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
