[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp-sshfs doesn't seem to respect tramp-remote-path
From: |
Michael Albinus |
Subject: |
Re: tramp-sshfs doesn't seem to respect tramp-remote-path |
Date: |
Wed, 31 Jul 2024 13:47:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Luiz Romário Santana Rios <luizromario@tecgraf.puc-rio.br> writes:
Hi,
> tramp-remote-path is used only for external processes of Tramp
> methods,
> which are handled by tramp-sh-file-name-handler. That is, all methods
> defined in tramp-sh.el and tramp-container.el.
>
> I think there's something wrong, then:
>
> /sshfs:luizromario@remote-machine:/home/c/luizromario $ (exec-path)
> ("/usr/bin" "/home/c/luizromario/")
> /sshfs:luizromario@remote-machine:/home/c/luizromario $
> (tramp-sh-handle-exec-path)
> ("/home/c/luizromario/emacs/bin" "/home/c/luizromario/.local/bin"
> "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin"
> "/usr/local/sbin" "/home/c/luizromario/")
tramp-sh-handle-exec-path is not used for the sshfs methods See
tramp-sshfs-file-name-handler-alist:
--8<---------------cut here---------------start------------->8---
(exec-path . tramp-sshfs-handle-exec-path)
--8<---------------cut here---------------end--------------->8---
Best regards, Michael.