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: Integrate Tramp Date: 19 Jun 2002 11:46:56 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200206171631.g5HGVBM13861@aztec.santafe.edu> <200206190223.g5J2NlQ15963@aztec.santafe.edu> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024454922 3302 127.0.0.1 (19 Jun 2002 02:48:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 02:48:42 +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 17KVWU-0000r9-00 for ; Wed, 19 Jun 2002 04:48:42 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17KVxU-0001q6-00 for ; Wed, 19 Jun 2002 05:16:36 +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 17KVWH-0001JN-00; Tue, 18 Jun 2002 22:48:29 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17KVUs-0001DE-00; Tue, 18 Jun 2002 22:47:02 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g5J2kxR23042; Wed, 19 Jun 2002 11:46:59 +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 g5J2kwl29785; Wed, 19 Jun 2002 11:46:58 +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 g5J2kwh04418; Wed, 19 Jun 2002 11:46:58 +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 g5J2kvK12299; Wed, 19 Jun 2002 11:46:57 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 1AA6037C8; Wed, 19 Jun 2002 11:46:57 +0900 (JST) Original-To: rms@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200206190223.g5J2NlQ15963@aztec.santafe.edu> Original-Lines: 29 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:4974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4974 Richard Stallman writes: > The way you did it looks safe, but is this really the right interface > to use? Or should we add a way to make /user@host:/path/to/file file > names optionally invoke Tramp? > > Perhaps they should use Tramp when USER is specified, and use ange-ftp > for anonymous access. Would that be the useful combination? I think not, since tramp can be used without a user too (for instance, with ssh). Also, it's not uncommon to use ange-ftp for non-anonymous users. I suspect that whether you wanth to use tramp or ftp depends on both the machine and the user; I would be happy with a variable that let me specify mappings from these to the method to use (plus a default for otherwise unspecified machines, of course). Actually, I'm surprised that trampt itself seems to have no method of defaulting things (such as the connection method) for particular machines (and users, though it would be be able to have default user for particular machines too, if no user is specified); perhaps the same mechanism could be used for both things. For instance, there could be a magic tramp connection-method called `ftp', which would cause the tramp code to just hand over to ange-ftp. -miles -- "I distrust a research person who is always obviously busy on a task." --Robert Frosch, VP, GM Research