"J.D. Smith" <[email protected]> writes:

Hi,

> I love using the psuedo-method `-' to save typing.  But when specifying
> the default connection method, host completion does not consult
> `tramp-completion-function-alist'.  It appears instead to include only
> those hosts known from ~/.authinfo.  E.g.:
>
>  /-:s[Tab] -> very few hosts
>
> It would be helpful if tramp's host completion could notice that the
> default method is being used, look up what it is, and use /it/ to select
> possible hostnames for completion, using the normal mechanisms.
>
> E.g. for a default method of `rsync' and the above filepath, the
> following would be used to seed completion options:
>
>  ("rsync" (tramp-parse-rhosts "/etc/hosts.equiv")
>    (tramp-parse-sconfig "/etc/ssh/ssh_config")
>    (tramp-parse-shosts ".../.ssh/known_hosts")
>    (tramp-parse-sconfig ".../.ssh/config"))

Good catch! I've pushed a fix to the repositories, could you pls check?

Best regards, Michael.

Reply via email to