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: Mon, 24 Mar 2003 19:24:31 +0100 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84isu8pqqo.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E7F00F1.5030800@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 1048530466 29680 80.91.224.249 (24 Mar 2003 18:27:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2003 18:27:46 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 24 19:27:45 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 18xWfh-0007iZ-00 for ; Mon, 24 Mar 2003 19:27:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18xWgI-0002xU-00 for ; Mon, 24 Mar 2003 19:28:22 +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 18xWeF-00063n-03 for emacs-devel@quimby.gnus.org; Mon, 24 Mar 2003 13:26:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18xWdp-0005fe-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 13:25:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18xWdK-0004Zd-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 13:25:29 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18xWd0-0003jE-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 13:24:59 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18xWcx-0007Tz-00 for ; Mon, 24 Mar 2003 19:24:55 +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 18xWcw-0007Tp-00 for ; Mon, 24 Mar 2003 19:24:54 +0100 Original-Lines: 15 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:MLFRWrWtLXuj2tff5HNfTB7PSZY= 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:12571 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12571 Lars Hansen writes: > I don't see a problem. My implementation calls expand-file-name on > filename as well as directory. I guess that should expand > "/user@host:/file" to e.g. "/ssh:user@host:/file". Am I wrong? No, this does not currently happen. I used to have such an expansion, but it caused problems with completion: Emacs got confused about the length of the string in the minibuffer. Possibly, the problems were caused by Tramp doing that expansion in many places, not just expand-file-name. I should investigate this, but I haven't done so yet, and I'm not sure when I can find the time. -- A preposition is not a good thing to end a sentence with.