Hi Michael,
I guess I'm not explaining this very well. I'll try and give a scenario:
First I load a file on the FTP server with file-name completion once I have
put in the host name and user name, as with your scenario:
C-x C-f /[EMAIL PROTECTED]:/ <TAB> password <TAB> <TAB>
Now I find a file on the local file system
C-x C-f ~/test.txt
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.
Hope I've explained the problem a bit more clearly.
Cheers
-Matthew
Michael Albinus wrote:
Hi Matthew,
This wouldn't work until you had first loaded a file from
[EMAIL PROTECTED], so I think ange-ftp was being clever, and completing
the path based on what ange-ftp buffers you had open at the moment.
This worked nicely for me. Hostname completion doesn't help me much
because then I have to put in the full path again and so on. I can't
seem to get tramp to blindly complete the ange-ftp path name the way
ange-ftp used to do, based on the loaded buffers.
I cannot follow your scenario. I have done the following:
# emacs -Q
M-: (setq tramp-default-method "ftp") <RET>
C-x C-f /[EMAIL PROTECTED]:/ <TAB> password <TAB> <TAB>
and then I've got the file name completion window as expected. What's
wrong with this?
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