[Top][All Lists]

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

Re: file-relative-name and remote files

From: Andreas Schwab
Subject: Re: file-relative-name and remote files
Date: Thu, 27 Feb 2003 18:37:00 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50

address@hidden (Kai Großjohann) writes:

|> Richard Stallman <address@hidden> writes:
|> > I see that (expand-file-name "/address@hidden:/../emacs")
|> > returns "/address@hidden:/../emacs".  That is surprising;
|> > I expected it to return "/emacs".
|> I've explained previously why I think that
|> (expand-file-name "/address@hidden:/../emacs")
|> => "/address@hidden:/emacs"
|> should hold.  Now I found the explanation why the "/.." part remains
|> in the filename.  Viz,
|> (expand-file-name "/../tmp") => "/../tmp"
|> Should this be changed?  What should the result be?

IIRC there are systems where "/.." has a different meaning than "/".


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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