GNU bug report logs - #14030
24.3; expand-file-name expands remote file name on Windows incorrectly

Previous Next

Package: emacs;

Reported by: Vida Gábor <vidagabor <at> gmail.com>

Date: Fri, 22 Mar 2013 15:21:01 UTC

Severity: normal

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 14030 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vida Gábor <vidagabor <at> gmail.com>,
	Michael Albinus <michael.albinus <at> gmx.de>
Cc: 14030 <at> debbugs.gnu.org
Subject: Re: bug#14030: 24.3;
	expand-file-name expands remote file name on Windows incorrectly
Date: Fri, 22 Mar 2013 18:02:46 +0200
> Date: Fri, 22 Mar 2013 16:17:45 +0100
> From: Vida Gábor <vidagabor <at> gmail.com>
> 
> Emacs 24.2 on Windows doesn't expand remote file names:
> 
>   (expand-file-name "/ssh:user <at> host:/")
>   "/ssh:user <at> host:/"
> 
> While Emacs 24.3.1 does:
> 
> (expand-file-name "/ssh:user <at> host:/")
> "/ssh:user <at> 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 <at> host:/" in 24.2,
but "/ssh:user <at> 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.





This bug report was last modified 4 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.