Hi Michael,
Thanks for the pointer. I have downloaded tramp 2.1.9, installed it and put
it in my load path in front of the old tramp. Tramp-version now confirms I am
using 2.1.9, but I still get the same behaviour when trying to complete - I
can't get the completion of the hostname and user name from typing / plus the
first few chars of the username. I have tried with partial completion mode on
and off. Am I missing something?
Cheers
-Matthew
Michael Albinus wrote:
Matthew Donaldson <[EMAIL PROTECTED]> writes:
Hi Michael,
Hi Matthew,
Now I want to open a file on the remote host again. What I could do
in ange-ftp is this:
C-x C-f /use<TAB>
and it would complete it to:
/[EMAIL PROTECTED]:/
And I could go on from there to get the file I wanted.
This was very useful when dealing with long host names and/or long
usernames, as it saved typing the username and hostname combinations
all the time.
Now I got it.
Yes, this is indeed the behaviour of Tramp 2.0, as shipped with Emacs
22.1. The reason is that Tramp performs a lot of additional completion
attempts, and it passes functionality to ange-ftp only in case it
knows it must be handled by ange-ftp (after the ":", in your case).
In Tramp 2.1, this behaviour has been improved to something similar
you've used to apply with native ange-ftp. Tramp remembers connections
once they have been used, and offers corresponding completions. But
this Tramp version won't be bundled with Emacs 22.x, I suspect.
So if you want get back the old ange-ftp behaviour in Emacs 22.1, you
could keep a ~/.netrc file with valid entries. Sorry for the
inconvenience.
Cheers
-Matthew
Best regards, Michael.
--
+--------------------------------------------------------------------------+
| Matthew Donaldson http://www.datadeliverance.com |
| Data Deliverance Pty. Ltd. Email: [EMAIL PROTECTED] |
| 30 Musgrave Ave. Phone: +61 8 8265 7976 _ |
| Banksia Park Fax: +61 8 8265 0032 John / \/ |
| South Australia 5091 3:16 \_/\ |
+--------------------------------------------------------------------------+
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel