Michael Albinus <[email protected]> writes: >> We have a problem understanding how TRAMP deals with finding remote >> shell. See below. > > Sorry, too much code I'm not familiar with. Including org-mode functionality.
Maybe you recall https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=89f10a11f We are struggling to find the rationale. >> If you have any insight, it would be appreciated. > > Could you condense the problem to a short code snippet? Honestly, I > don't know what you want me to say. > > And pls understand, that I'm *not* an org-mode user. So my understanding > of org-mode functions is very limited. My understanding (Morgan, please correct if you have other issues understanding TRAMP) is that the problem is in the following: (let ((default-directory "/ssh:lumi:~")) (with-connection-local-variables shell-file-name)) The above always returns /bin/sh, but /bin/sh is not always a valid path to shell on remote system. In particular, it does not exist on Guix. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
