unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Huchler <stefan.huchler@mail.de>
To: help-gnu-emacs@gnu.org
Subject: Re: ido-find-file doesn't suggest ssh as autocomplete option
Date: Sun, 20 Oct 2019 16:54:47 +0200	[thread overview]
Message-ID: <87d0er4gco.fsf@mail.de> (raw)
In-Reply-To: 87d0erx3eb.fsf@gmx.de

Hello Michael,

Ohh thanks interesting I tested it on my fresh installed notebook with
nothing in the config yet than exwm, in that case it must be something
in either the nixos package exwm or in exwm itself, likely the latter.

  loadScript = pkgs.writeText "emacs-exwm-load" ''
    (require 'exwm)
    ${optionalString cfg.enableDefaultConfig ''
      (require 'exwm-config)
      (exwm-config-default)
    ''}

That doesn't look like a problem so it's something in
exwm-config-default and I report that there as issue.

Michael Albinus <michael.albinus@gmx.de> writes:

> 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:
>
> Possible completions are:
> sbin/ 	snap/
> srv/ 	sys/
>
>
> - emacs -Q -l tramp
> - M-x ido-find-file
> - / s TAB
>
> You see also respective Tramp methods:
>
> Possible completions are:
> sbin/ 	scp: 	scpx: 	sftp: 	sg: 	smb: 	snap/
> srv/ 	ssh: 	sshx: 	su: 	sudo: 	sudoedit: 	sys/
>
> Best regards, Michael.




      reply	other threads:[~2019-10-20 14:54 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
2019-10-20 14:54   ` Stefan Huchler [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d0er4gco.fsf@mail.de \
    --to=stefan.huchler@mail.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).