Subject: Re: bug#14030: 24.3; expand-file-name expands remote file name on Windows incorrectly

From: Eli Zaretskii <[email-masked]>
Date: Fri, 22 Mar 2013 18:02:46 +0200

> Date: Fri, 22 Mar 2013 16:17:45 +0100
> From: Vida Gábor <[email-masked]>
> 
> Emacs 24.2 on Windows doesn't expand remote file names:
> 
>   (expand-file-name "/ssh:user@host:/")
>   "/ssh:user@host:/"
> 
> While Emacs 24.3.1 does:
> 
> (expand-file-name "/ssh:user@host:/")
> "/ssh:user@host:c:/"
> 
> And this makes Tramp to fail (it can't find proper ls command, but
> that's a side effect).

This is due to some change in Tramp, specifically in
tramp-sh-file-name-handler: it returned "/ssh:user@host:/" in 24.2,
but "/ssh:user@host:c:/" in 24.3.  Michael, could you please take a
look?

> I start Emacs from a Cygwin terminal (but not the Cygwin version of
> Emacs). Just for your information.

I can easily reproduce this from the cmd window as well.