[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The “//” fix confuses cygwin-mount

From: Michael Albinus
Subject: Re: The “//” fix confuses cygwin-mount
Date: Thu, 22 Mar 2018 13:55:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)

Chris Zheng <address@hidden> 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)
                            (substitute-in-file-name (list localname))))))))
--8<---------------cut here---------------end--------------->8---

> Thank you,
> Chris

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]