[Top][All Lists]

[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: Fri, 28 Feb 2003 19:33:29 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu)

Lars Hansen <address@hidden> writes:

> file-relative-name assumes that filename and directory is part of the
> same tree except when we are on a DOS/Windows system and the first two
> chars in the expanded file names (the drive) are not equal.

I've now changed Tramp such that (expand-file-name
"/address@hidden:/../foo") evals to "/foo".

    (Aside: It's not clear to me what (expand-file-name
    "/address@hidden:../foo") should eval to.  Usually, relative localnames
    (the ../foo part) are considered to be relative to the remote home
    dir.  Any advice?)

Does this change make things Just Work, or is a change in
file-relative-name still required?
A preposition is not a good thing to end a sentence with.

reply via email to

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