Hi, I've written some code which performs method, user name and file name completion on tramp file names. It is far away from being perfect, and it is missing some functionality; but at least for ssh-like and rsh-like methods it should work already as well as for ange-ftp on FSF Emacs (where ange-ftp completion is reactivated).
Tests have been performed mainly for FSF Emacs; the XEmacs tests will follow. In order not to destabilize the main branch of tramp I've created a new branch in CVS called "completion", based on tramp 2.0.12. Once (hopefully very soon) this branch has been proven worth to take into account it will be merged back. Courageous volunteers are welcome to stress the code as well as for all kinds of comments. CVS access to this branch could be performed by cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tramp \ co -r completion tramp My private TODO for this code reads as follows (likely it will increase but decrease next time): ;;; TODO: ;; * Perform comprehensive tests with XEmacs. Even plugging into ;; `file-name-handler-alist' doesn't seem to work. ;; * Write documentation for "tramp.texi". ;; * Implement `tramp-get-completion-telnet'. ;; * Review `tramp-get-completion-rsh' and `tramp-get-completion-ssh'. ;; Implementation is very, ahem, straight-forward. ;; * Make the private regexp's customizable. ;; * Add a learning mode for completion. Make results persistent. Have fun. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel