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: Sat, 08 Mar 2003 15:41:00 +0100 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <8465qtudj7.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E69ADEE.7000801@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 1047135257 26879 80.91.224.249 (8 Mar 2003 14:54:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2003 14:54:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Mar 08 15:54:16 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18rfiJ-0006zP-00 for ; Sat, 08 Mar 2003 15:54:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18rg3e-0005HW-00 for ; Sat, 08 Mar 2003 16:16:18 +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 18rfgD-0003gB-02 for emacs-devel@quimby.gnus.org; Sat, 08 Mar 2003 09:52:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18rffv-0003fG-00 for emacs-devel@gnu.org; Sat, 08 Mar 2003 09:51:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18rffh-0003Zp-00 for emacs-devel@gnu.org; Sat, 08 Mar 2003 09:51:36 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18rff0-0003Hf-00 for emacs-devel@gnu.org; Sat, 08 Mar 2003 09:50:50 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18rfeM-0006mT-00 for ; Sat, 08 Mar 2003 15:50:10 +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 18rfV3-0006Nb-00 for ; Sat, 08 Mar 2003 15:40:33 +0100 Original-Lines: 24 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:EvSjp3abFWiAU8smHY4E5DpWYfc= 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:12178 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12178 Lars Hansen writes: >> Lars Hansen writes: >> >>>> 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/../larsh@galois.math.ku.dk:."). The >>>> call returns "/larsh@galois.math.ku.dk:." but it should return >>>> "/larsh@galois.math.ku.dk:/home/l/larsh". >>> >> >>So maybe expand-file-name should re-invoke itself until it reaches a >>fixpoint? >> -- A preposition is not a good thing to end a sentence with. >> > IMHO expand-file-name should remove ".."'s *before* calling file > handlers. IMHO expand-file-name should expand "~" even before processing "..". To expand "~" it is necessary to invoke the handler. Hm. -- A preposition is not a good thing to end a sentence with.