Chris Zheng <[email protected]> writes:
> Dear Michael,
Hi Chris,
> I’m sorry to tell you that the fix isn’t right, as
>
> (tramp-drop-volume-letter "c:/msys64/foo") ⇒ "/msys64/foo"
>
> which is still wrong. The “/msys64” should be removed, too.
Why does (substitute-in-file-name "/foo") returns "c:/msys64/foo"? This
is not covered by the description of `substitute-in-file-name'.
Does it work, if you change the patch like this:
--8<---------------cut here---------------start------------->8---
(concat (file-remote-p filename)
(tramp-drop-volume-letter
(tramp-run-real-handler
(substitute-in-file-name (list localname))))))))
--8<---------------cut here---------------end--------------->8---
> Thank you,
>
> Chris
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel