emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrate Tramp


From: Kim F. Storm
Subject: Re: Integrate Tramp
Date: 19 Jun 2002 14:40:27 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Miles Bader <address@hidden> writes:

> Richard Stallman <address@hidden> 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 /address@hidden:/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 <address@hidden> http://www.cua.dk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]