[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CORRECT VERSION: tramp (2.0.51); tramp and file-name-all-completion
From: |
Michael Albinus |
Subject: |
Re: CORRECT VERSION: tramp (2.0.51); tramp and file-name-all-completions |
Date: |
Mon, 17 Oct 2005 06:49:52 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
"Kim F. Storm" <address@hidden> writes:
> I'm trying to make ido work sensibly with tramp syntax -- but
> getting a grip on file-name-all-completions is really a nightmare.
I've committed a new tramp.el into Emacs CVS, please try this. Note
that that I have set tramp-default-method to "ftp", therefore the
results are slightly different. And my telnetd is disabled by default;
I've used ssh therefore.
> ========
>
> (file-name-all-completions "" "/telnet:")
> => ERROR: "Login Failed"
(file-name-all-completions "" "/ssh:")
OK
> ========
>
> (file-name-all-completions "" "/telnet:kfs@")
> => ERROR: Login Failed
(file-name-all-completions "" "/ssh:albinus@")
OK
> ========
>
> (file-name-all-completions "" "/telnet:address@hidden:")
> => OK
(file-name-all-completions "" "/ssh:address@hidden:")
OK
> ========
>
> (file-name-all-completions "" "/telnet:address@hidden:/tmp")
> => OK
(file-name-all-completions "" "/ssh:address@hidden:/tmp")
OK
> ========
>
> (file-name-all-completions "" "/kfs@")
> => (file-error "Opening directory" "no such file or directory" "/kfs@")
(file-name-all-completions "" "/albinus@")
OK
> ========
>
> (file-name-all-completions "" "/address@hidden:")
> => OK
(file-name-all-completions "" "/address@hidden:")
This returns nil. Likely it is an ange-ftp behaviour. Nevertheless,
(file-name-all-completions "" "/address@hidden:./") returns the
desired values.
> ========
>
> (file-name-all-completions "" "/localhost:")
> => OK
(file-name-all-completions "" "/localhost:")
Also nil, which can be masqued by
(file-name-all-completions "" "/localhost:./")
Best regards, Michael.