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: Lars Hansen
Subject: Re: file-relative-name and remote files
Date: Sat, 08 Mar 2003 21:05:47 +0100
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3b) Gecko/20030210



That just doesn't make sense.  It neglects "~".  IMHO, a filename
such as "~/../bla" makes perfect sense, and I think that "~" should
be expanded first, before processing "..".

What do you think?

I see your point. I did not take "~" into consideration. Clearly "~"
should be processed before ".."'s and the file handler should process
"~".
I my opinion that means that everyting after "/foo:" should be handled
as something on the remote machine. I.e. "/foo:/.." should expand to
"/foo:/" and not to "/". And file-relative-name should return an absolute
name when FILENAME and DIRECTORY are on different machines.





reply via email to

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