Michael Heerdegen writes: Hi Michael, >> I've improved the patch, and I've committed it to master. It works now >> for all different Tramp syntaxes as well as for all completion styles >> except `initials' and `shorthand'. Likely, these two are not so relevant >> for file name completion. > > This breaks Emacs horribly: in emacs -Q (require 'tramp) and M-x dired RET > for example: > > Debugger entered--Lisp error: (file-missing "Searching for program" "No such file or directory" "ls") > (call-process "ls" nil nil nil "--dired") > ... > (dired-noselect "~/" nil) I'm very sorry about this. Strangely, I cannot reproduce the problem with your recipe. > All programs seem to be gone, shells etc. I thought my Laptop had died! > Rebasing with your commit omitted fixes the problem. Does the appended patch fixes this for you? > Michael. Best regards, Michael.