all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Huchler <stefan.huchler@mail.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ido-find-file doesn't suggest ssh as autocomplete option
Date: Sun, 20 Oct 2019 09:49:32 +0200	[thread overview]
Message-ID: <87d0erx3eb.fsf@gmx.de> (raw)
In-Reply-To: <87h844474c.fsf@mail.de> (Stefan Huchler's message of "Sun, 20 Oct 2019 02:01:55 +0200")

Stefan Huchler <stefan.huchler@mail.de> 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	other threads:[~2019-10-20  7:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-20  0:01 ido-find-file doesn't suggest ssh as autocomplete option Stefan Huchler
2019-10-20  7:49 ` Michael Albinus [this message]
2019-10-20 14:54   ` Stefan Huchler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0erx3eb.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=stefan.huchler@mail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.