[Top][All Lists]

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

Re: Tramp completion doesn't work like ange-ftp

From: Matthew Donaldson
Subject: Re: Tramp completion doesn't work like ange-ftp
Date: Tue, 31 Jul 2007 23:37:45 +0930
User-agent: Thunderbird (X11/20070719)

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


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.



Michael Albinus wrote:

Hi Matthew,

This wouldn't work until you had first loaded a file from
address@hidden, 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 /address@hidden:/ <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                |
| Data Deliverance Pty. Ltd.    Email: address@hidden         |
| 30 Musgrave Ave.              Phone: +61 8 8265 7976            _        |
| Banksia Park                  Fax:   +61 8 8265 0032     John  / \/      |
| South Australia 5091                                     3:16  \_/\      |

reply via email to

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