tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp path-munging breaks remote compilation


From: Michael Albinus
Subject: Re: tramp path-munging breaks remote compilation
Date: Thu, 27 May 2021 09:59:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Kevin Broadey <kevin.broadey@me.com> writes:

Hi Kevin,

> The only way I've been able to get Tramp to Do The Right Thing and
> leave my remote PATH the way I want it to be is to put this in my .
> emacs file...
>
>     ;; tramp is overzealous about setting the remote PATH,
>     ;; contrary to .profile, .bash_profile .bashrc etc
>     (eval-after-load "tramp-sh" '(defun tramp-set-remote-path(vec)))
>
> This is maybe an extreme reaction, but I've got a job to do, and when
> it comes to setting the remote PATH, I really do know better than my
> editor.

This is maybe an extreme reaction, but if you've got a job to do with
Tramp, you should consult the documentation.

As somebody has told already, adding tramp-own-remote-path to
tramp-remote-path should do the job.

> Thanks

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]