all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ido-find-file doesn't suggest ssh as autocomplete option
@ 2019-10-20  0:01 Stefan Huchler
  2019-10-20  7:49 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Huchler @ 2019-10-20  0:01 UTC (permalink / raw
  To: help-gnu-emacs

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?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ido-find-file doesn't suggest ssh as autocomplete option
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2019-10-20  7:49 UTC (permalink / raw
  To: Stefan Huchler; +Cc: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ido-find-file doesn't suggest ssh as autocomplete option
  2019-10-20  7:49 ` Michael Albinus
@ 2019-10-20 14:54   ` Stefan Huchler
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Huchler @ 2019-10-20 14:54 UTC (permalink / raw
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-20 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.