2020年1月3日 20:39,Michael Albinus <[email protected]> 写道: > > Attempt 3 seems to be OK to me. I don't understand your problem with > Windows;
Here is my concern. Suppose the remote machine is Windows, and the command line tool outputs an absolute path name "E:/xxx/xxx”. Then maybe I suppose to generate a path like “scp:user@machine:E:/xxx/xxx”. But `(file-name-absolute-p “E:/xxx/xxx”)’ is `nil’ (on a Linux local machine) so it will end up with a path like “scp:user@machine:<default-directory>/E:/xxx/xxx”, which is incorrect. However, currently I don’t have a Windows machine to test it out. So above is just my guess. > I do not expect Tramp to run process-file on a remote Windows machine. Do you mean Tramp does not work if the remote machine is Windows? If that is the case, I can close this question now :) Fan
