Norbert Koch <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (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 /user@host:file /[method]user@host: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, /[ftp]user@host: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) _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel