help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: ido-find-file doesn't suggest ssh as autocomplete option


From: Michael Albinus
Subject: Re: ido-find-file doesn't suggest ssh as autocomplete option
Date: Sun, 20 Oct 2019 09:49:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Huchler <address@hidden> writes:

Hi Stefan,

> When I press in ido-find-file mode /s + tab I get as possible
> completions besides the files that start with s scp and scpx but not
> ssh.
>
> If I then manually type in /ssh: it lists the possible hosts correctly,
> but I get no autocompletion choice for ssh, and therefor has to type the
> string manually instead of ss + RET.
>
> Btw the same with sudo I don't get it as completion option, in find-file
> the completion to that methods is there. Same with adb.
>
> Why do I only get some methods to autocomplete and not all? And is there
> a way to configure that differently?

I don't know why you get /scp and /scpx as completion. You shouldn't as
long as Tramp is not loaded.

Compare the two scenarii:

- emacs -Q
- M-x ido-find-file
- / s TAB

You don't see any Tramp method:

--8<---------------cut here---------------start------------->8---
Possible completions are:
sbin/   snap/
srv/    sys/
--8<---------------cut here---------------end--------------->8---

- emacs -Q -l tramp
- M-x ido-find-file
- / s TAB

You see also respective Tramp methods:

--8<---------------cut here---------------start------------->8---
Possible completions are:
sbin/   scp:    scpx:   sftp:   sg:     smb:    snap/
srv/    ssh:    sshx:   su:     sudo:   sudoedit:       sys/
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.



reply via email to

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