[Top][All Lists]

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

Re: Integrate Tramp

From: Kai Großjohann
Subject: Re: Integrate Tramp
Date: Thu, 20 Jun 2002 18:11:51 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Richard Stallman <address@hidden> writes:

> I think we need to implement this now, before the next release,
> because having two alternative syntaxes for remote file names is not a
> coherent interface.  It is usable for wizards, but not clean and nice.
> If we can arrange to use the same remote file name syntax
> that people are used to, it will also mean less for users to learn.

Tramp knows the following kinds of filenames (square brackets are
literal characters):


The last variant I call multi-hop method.  It can contain an
arbitrary number of hops.  A hop looks like "hop:address@hidden".

Ange-FTP directly supports the first two:


For the others, this syntax needs to be extended.  Hm.  Let's see.
The characters "@" and ":" should not be used to separate the
method.  But maybe the method could be in square brackets.  So the
third line becomes this:


That seems to be simple and easy enough.  Hm.  And for the multi-hop
methods, the hops could be separated by comma and the "hop" part
could be separated by "#", so we arrive at this format:


This appears to be a fairly natural filename format which people
might like.

Now comes the question: in which cases should Tramp invoke Ange-FTP?
My ideas are:

* We designate a special method "ftp" which, when specified, invokes

* Tramp is augmented with an alist of user/host pairs and default
  methods.  This alist can be used to tell Tramp to use any method,
  including "ftp", for a specific user/host combination.

* Specifying the method in the filename overrides this alist.

What do you think?

A large number of young women don't trust men with beards.  (BFBS Radio)

reply via email to

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