From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: file-relative-name and remote files Date: Thu, 27 Feb 2003 18:05:17 +0100 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84of4xd582.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E5C8BAC.8000201@math.ku.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046366299 19885 80.91.224.249 (27 Feb 2003 17:18:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2003 17:18:19 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18oRfk-0005AQ-00 for ; Thu, 27 Feb 2003 18:18:16 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18oRwh-000872-00 for ; Thu, 27 Feb 2003 18:35:51 +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 18oRaW-00008A-00 for emacs-devel@quimby.gnus.org; Thu, 27 Feb 2003 12:12:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18oRa6-00006w-00 for emacs-devel@gnu.org; Thu, 27 Feb 2003 12:12:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18oRa3-00005q-00 for emacs-devel@gnu.org; Thu, 27 Feb 2003 12:12:24 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18oRYv-0008LW-00 for emacs-devel@gnu.org; Thu, 27 Feb 2003 12:11:13 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18oRYC-0004b8-00 for ; Thu, 27 Feb 2003 18:10:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18oRSu-00045o-00 for ; Thu, 27 Feb 2003 18:05:00 +0100 Original-Lines: 19 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:Rua26VuhtU8cWOV5YZrKCPflSX0= 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:12005 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12005 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? -- A preposition is not a good thing to end a sentence with.