Closed thierryvolpiatto closed 6 years ago
See #1598
So for now if one really want to use tramp multihop, the alternative is to use tramp-default-proxies-alist
or to use the lisp function instead of the external one:
(setq helm-list-directory-function #'helm-list-dir-lisp)
Finally found what's wrong, the default-directory
needs to be shell-quoted when passed to process-file-shell-command
.
Hello Thierry!
That was fast, I didn't even have time to check the previous version. I can confirm that this is now working as expected, and all completions are shown correctly. Thanks!
Expected behavior
helm-find-files working with tramp multihop syntax when using
helm-list-dir-external
ashelm-list-directory-function
.Actual behavior (from
emacs-helm.sh
if possible, see note at the bottom)helm-find-files with tramp multihop syntax is working only with
helm-list-dir-lisp
ashelm-list-directory-function
but failing to list directory when usinghelm-list-dir-external
(the default function).AFAIU the bug is not a helm bug but a bug in
process-file-shell-command
which doesn't support tramp multihop syntax, however it is working fine when usingtramp-default-proxies-alist
.Steps to reproduce (recipe)
C-x C-f /ssh:host|sudo:host:
Backtraces if any (
M-x toggle-debug-on-error
)No backtraces.
Describe versions of Helm, Emacs, operating system, etc.
Master branch of helm and tested on emacs 25/26/27.
Are you using
emacs-helm.sh
to reproduce this bug (yes/no):yes