GNU bug report logs - #32304
27.0.50; tramp-tests issue with double slash

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Sun, 29 Jul 2018 15:55:01 UTC

Severity: normal

Found in version 27.0.50

Fixed in version 27.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Brown <kbrown <at> cornell.edu>
To: Michael Albinus <michael.albinus <at> gmx.de>, Andy Moreton <andrewjmoreton <at> gmail.com>
Cc: 32304 <at> debbugs.gnu.org
Subject: bug#32304: 27.0.50; tramp-tests issue with double slash
Date: Tue, 31 Jul 2018 18:07:29 -0400
On 7/31/2018 4:57 PM, Michael Albinus wrote:
> The question is, whether Tramp should follow this. It does
> 
> (substitute-in-file-name "/ssh::/a///b") => "/b"

This seems right to me.  After all, the repeated slash is not at the 
beginning of the (total) file name.

> Maybe, it shall return on Cygwin and MS-Windows
> 
> (substitute-in-file-name "/ssh::/a///b") => "//b"

I can't think of any situation where this would be useful.

Ken





This bug report was last modified 6 years and 290 days ago.

Previous Next


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