emacs-devel
[Top][All Lists]
Advanced

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

Re: file-relative-name and remote files


From: Kai Großjohann
Subject: Re: file-relative-name and remote files
Date: Thu, 27 Feb 2003 18:05:17 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu)

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?
-- 
A preposition is not a good thing to end a sentence with.





reply via email to

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