[Top][All Lists]

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

Re: file-relative-name and remote files

From: Lars Hansen
Subject: Re: file-relative-name and remote files
Date: Thu, 27 Feb 2003 15:22:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

I see that (expand-file-name "/address@hidden:/../emacs")
returns "/address@hidden:/../emacs".  That is surprising;
I expected it to return "/emacs".

It would probably be easy to change this, and that change would
probably fix the whole problem.  But was this done intentionally?
Does it serve a specific purpose?

I doubt that it is intentional, but I don't know. The call is handlede by
Tramp, so it is a Tramp matter.
One more problem: The syntax to invoke the Tramp file handler
is "\`/[^/:]+:". So the handler is not invoked in the call
(expand-file-name "/emacs/../address@hidden:."). The
call returns "/address@hidden:." but it should return

reply via email to

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