From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Tramp/Ange-FTP filename unification Date: 12 Jul 2002 18:15:35 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-14 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1026465582 29068 127.0.0.1 (12 Jul 2002 09:19:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2002 09:19:42 +0000 (UTC) Cc: 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 17SwaU-0007Yj-00 for ; Fri, 12 Jul 2002 11:19:42 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17SwkI-000481-00 for ; Fri, 12 Jul 2002 11:29:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17SwX6-00082K-00; Fri, 12 Jul 2002 05:16:12 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17SwWZ-00081b-00; Fri, 12 Jul 2002 05:15:40 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g6C9Fbe20454; Fri, 12 Jul 2002 18:15:37 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g6C9Fba20828; Fri, 12 Jul 2002 18:15:37 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g6C9FZ420951; Fri, 12 Jul 2002 18:15:35 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g6C9FZS01428; Fri, 12 Jul 2002 18:15:35 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 7FEB437D5; Fri, 12 Jul 2002 18:15:35 +0900 (JST) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 28 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5698 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5698 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > >> /method:user@host:/path/to/file > > > > Using `:' for both separators makes filenames with omitted components > > more ambiguous. >=20 > Well, the filename "/method:/path/to/file" does not make sense IMHO. > Tramp is for editing remote files, you should always specify at least > a host name. So in a filename like "/x:y", the x will be interpreted > as a host name. What about methods that just su? There doesn't seem to be any reason why tramp should be only for remote files; it's really a way of editing through a shell connection, with remote shells being a particularly common and handy subset of that functionality. > Do you think that's bad? Well, I think that it's good that X in `/X:Y' will be interpreted as a hostname, but it seems desirable to be able to specify a `method-only' name for methods where a hostname doesn't make any sense. Maybe `:' _is_ the right choice, and something like `/M::P' should be required for method-only names, but I think it deserves some discussion. -Miles --=20 97% of everything is grunge