From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: file-relative-name and remote files Date: Thu, 27 Feb 2003 18:37:00 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3E5C8BAC.8000201@math.ku.dk> <84of4xd582.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1046369149 1706 80.91.224.249 (27 Feb 2003 18:05:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2003 18:05:49 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18oSP0-0000OE-00 for ; Thu, 27 Feb 2003 19:05:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18oSg1-0000Bp-00 for ; Thu, 27 Feb 2003 19:22:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18oSDy-0005Ab-06 for emacs-devel@quimby.gnus.org; Thu, 27 Feb 2003 12:53:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18oSA6-00040U-00 for emacs-devel@gnu.org; Thu, 27 Feb 2003 12:49:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18oS3P-0001fv-00 for emacs-devel@gnu.org; Thu, 27 Feb 2003 12:42:44 -0500 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18oRxx-0007WO-00 for emacs-devel@gnu.org; Thu, 27 Feb 2003 12:37:05 -0500 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 05C9614A3B; Thu, 27 Feb 2003 18:37:05 +0100 (MET) Original-To: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) X-Yow: Yow! I'm imagining a surfer van filled with soy sauce! In-Reply-To: <84of4xd582.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de's message of "Thu, 27 Feb 2003 18:05:17 +0100") User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12007 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12007 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: |> Richard Stallman writes: |> |> > I see that (expand-file-name "/larsh@galois.math.ku.dk:/../emacs") |> > returns "/larsh@galois.math.ku.dk:/../emacs". That is surprising; |> > I expected it to return "/emacs". |> |> I've explained previously why I think that |> |> (expand-file-name "/larsh@galois.math.ku.dk:/../emacs") |> => "/larsh@galois.math.ku.dk:/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? IIRC there are systems where "/.." has a different meaning than "/". Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."