From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Integrate Tramp Date: 19 Jun 2002 23:34:17 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xadprkl5y.fsf@kfs2.cua.dk> References: <200206171631.g5HGVBM13861@aztec.santafe.edu> <200206190223.g5J2NlQ15963@aztec.santafe.edu> <5x8z5bqvxc.fsf@kfs2.cua.dk> <200206191500.g5JF01t02039@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024518988 682 127.0.0.1 (19 Jun 2002 20:36:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 20:36:28 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17KmBn-0000At-00 for ; Wed, 19 Jun 2002 22:36:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Kmd9-0000XF-00 for ; Wed, 19 Jun 2002 23:04:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KmBW-0000nE-00; Wed, 19 Jun 2002 16:36:10 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17Km95-0000Vz-00 for ; Wed, 19 Jun 2002 16:33:39 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id C21937C016; Wed, 19 Jun 2002 20:33:36 +0000 (GMT) Original-To: "Stefan Monnier" In-Reply-To: <200206191500.g5JF01t02039@rum.cs.yale.edu> Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4998 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4998 "Stefan Monnier" writes: > > > > Actually, the full tramp format seems to be > > > > /[method/user@host]/path/to/file > > It's more than complex that because of the `multi' method which allows > you to access files via a sequence of "access methods" (e.g. ssh to host1 > then ssh to host2 then su). > > > I think using / to separate the method is a really bad idea, as it > > makes it non-trivial to parse or split a filename. > > file-name-directory and others are your friends. I'm probably biased, but with ido, I read file names one character at a time, and consider a / to be a separator between path components. With tramp, that assumption is no longer true. Of course, I can program around it, but I still think / is a bad choice. What's wrong with a : ? -- Kim F. Storm http://www.cua.dk