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: Stefan Huchler
Subject: Re: ido-find-file doesn't suggest ssh as autocomplete option
Date: Sun, 20 Oct 2019 16:54:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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 <address@hidden> writes:

> 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:
>
> 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 via email to

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