[Top][All Lists]

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

Re: file-relative-name and remote files

From: Stefan Monnier
Subject: Re: file-relative-name and remote files
Date: Mon, 24 Feb 2003 16:36:51 -0500

>    (file-relative-name "/dir/file" "/scp:address@hidden:/dir1/")
> You need to replace "address@hidden" with a valid user and 
> server name,
> since the expand-file-name call is handeled by Tramp. The above example
> ought to return "/dir/file" since filename is on the local machine and 
> directory on the remote,
> but in fact it returns "../../dir/file". This makes no sense.

Maybe RMS point is that "../../dir/file" *should* make sense and
that it's a bug if Emacs does not handle it properly.


reply via email to

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