From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Integrate Tramp Date: Wed, 19 Jun 2002 11:00:01 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200206191500.g5JF01t02039@rum.cs.yale.edu> References: <200206171631.g5HGVBM13861@aztec.santafe.edu> <200206190223.g5J2NlQ15963@aztec.santafe.edu> <5x8z5bqvxc.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024498993 14157 127.0.0.1 (19 Jun 2002 15:03:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 15:03:13 +0000 (UTC) Cc: rms@gnu.org, 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 17KgzJ-0003gE-00 for ; Wed, 19 Jun 2002 17:03:13 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17KhQY-0001TM-00 for ; Wed, 19 Jun 2002 17:31:22 +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 17KgzF-0004Wd-00; Wed, 19 Jun 2002 11:03:09 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KgwJ-0004Lp-00; Wed, 19 Jun 2002 11:00:07 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g5JF01t02039; Wed, 19 Jun 2002 11:00:01 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: storm@cua.dk (Kim F. Storm) 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:4990 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4990 > Richard Stallman writes: > > > Simply via the filename. /[user@host]/path/to/file (including the > > square brackets) is a Tramp filename, whereas > > /user@host:/path/to/file is an Ange-FTP filename. > > > > I see now. When I saw this before I did not realize that the > > brackets were meant literally. > > > > 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. > If we adapt the idea of using the same notation as ange-ftp, i.e. > /user@host:/path/to/file Tramp started with such an idea, but given all the various details that might be embedded in a Tramp filename, it turned out to be a problem IIRC. And I think if we want to standardize on a common syntax, we should go for something more like URLs. Stefan