[Top][All Lists]

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

Method / host name / user name completion

From: Michael Albinus
Subject: Method / host name / user name completion
Date: 20 Aug 2002 22:11:53 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7


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

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:address@hidden:/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.

reply via email to

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