tramp-devel
[Top][All Lists]
Advanced

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

Re: Unify Ange-FTP and Tramp filename formats?


From: Kai Großjohann
Subject: Re: Unify Ange-FTP and Tramp filename formats?
Date: Thu, 20 Jun 2002 18:47:36 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Norbert Koch <address@hidden> writes:

> address@hidden (Kai Großjohann) writes:
>
>> Richard wants me to change Tramp in such a way that it uses the same
>> filename format as Ange-FTP.  The idea would be that the user can
>> specify for which user/host combinations Ange-FTP should be used and
>> for which user/host combinations Tramp should be used.
>>
>> What do you think about this?
>
> What's the syntax of Ange-FTP connection strings?  Wouldn't we get into
> trouble with EFS filenames?

The idea is that Ange-FTP is never invoked directly.  Tramp just
"forwards" some operations to Ange-FTP depending on some conditions.
For instance, it could do that for a specific user/host combination.

I have just implemented a new variable tramp-default-method-alist
which allows you to specify regular expressions for user and host
name and a method to use in this case.

Then the unification could be done as follows:

(1) Turn off Ange-FTP.

(2) Change Tramp to use a different filename format, for example:

        /host:file
        /address@hidden:file
        /address@hidden:file

    (There should be something for multi-methods, too.  The square
    brackets are part of the filename.)

(3) Add a new pseudo-method which just forwards the call to
    Ange-FTP.  So, for example, /address@hidden:file would invoke
    Ange-FTP.

(4) Using the new variable tramp-default-method-alist, users could
    specify that FTP is used by default for certain user/host
    combinations.

kai
-- 
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]