GNU bug report logs - #7617
24.0.50; `expand-file-name': removal of slashes

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 11 Dec 2010 21:49:02 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Andreas Schwab'" <schwab <at> linux-m68k.org>
Cc: 7617 <at> debbugs.gnu.org, 'Eli Zaretskii' <eliz <at> gnu.org>
Subject: bug#7617: 24.0.50; `expand-file-name': removal of slashes
Date: Sun, 12 Dec 2010 12:25:30 -0800
> > In interactive use, `...//abc...' is treated as just `/abc...' by
> > Emacs.
> 
> This has nothing to do with expand-file-name, this is the function of
> substitute-in-file-name.

I know that.  I never said that `expand-file-name' removed the prefix or that it
should remove the prefix.  In fact I said clearly that it should not.  I do not
want to remove _any_ of the prefix, including its slash.

I am not interested in obtaining the behavior of `substitute-file-name'.  I am
interested in obtaining the documented behavior of `expand-file-name', which
does not include collapsing consecutive slashes.

Can you tell me how to get that behavior?





This bug report was last modified 14 years and 158 days ago.

Previous Next


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