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 14:40:27 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xd6unqw5g.fsf@kfs2.cua.dk> References: <200206171631.g5HGVBM13861@aztec.santafe.edu> <200206190223.g5J2NlQ15963@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024486941 18503 127.0.0.1 (19 Jun 2002 11:42:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 11:42:21 +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 17Kdqv-0004oK-00 for ; Wed, 19 Jun 2002 13:42:21 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17KeI6-0005OA-00 for ; Wed, 19 Jun 2002 14:10:26 +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 17Kdqo-0004yr-00; Wed, 19 Jun 2002 07:42:14 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17KdoS-0004cD-00; Wed, 19 Jun 2002 07:39:48 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 3E79D7C016; Wed, 19 Jun 2002 11:39:45 +0000 (GMT) Original-To: Miles Bader In-Reply-To: Original-Lines: 44 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:4984 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4984 Miles Bader writes: > 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). > I agree. > 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. The default for unknown hosts could be 'detect, meaning it should detect the best method to use to connect to that host -- and save that info somewhere (e.g. .emacs or .tramp). > 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. Nice idea. If the default connection method for unknown hosts was 'ftp, ange-ftp would work as today; it could also be the fall-back for 'detect if none of the tramp methods work. -- Kim F. Storm http://www.cua.dk