From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: ido-find-file doesn't suggest ssh as autocomplete option Date: Sun, 20 Oct 2019 09:49:32 +0200 Message-ID: <87d0erx3eb.fsf@gmx.de> References: <87h844474c.fsf@mail.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="186541"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Stefan Huchler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 09:51:07 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iM5zW-000mPP-A0 for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 09:51:06 +0200 Original-Received: from localhost ([::1]:53878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iM5zV-0006lK-0I for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 03:51:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53599) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iM5yF-0006ku-7o for help-gnu-emacs@gnu.org; Sun, 20 Oct 2019 03:49:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iM5yE-00017j-3N for help-gnu-emacs@gnu.org; Sun, 20 Oct 2019 03:49:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:35133) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iM5yD-00016H-MX for help-gnu-emacs@gnu.org; Sun, 20 Oct 2019 03:49:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1571557775; bh=MLKYHtDLpr7Z/39mcjnTlv8s5qWDfS60ThNHxXrrFzY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=fIc6awOvDGyBknj32yN+9fqWhqWYpCWBKQV4qwpt8kioK74XINU9x1bsg+B2JtGST BWzU97cvodFu2fZK3pyppjleDBXqEjOTILV5iPXxBLLBapIZaXqXjZbi7U/uelATIP 7J16qnfUCtBgW3/flHxL36vBFnf9OW2R7uPeYpoM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.45.31]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MIx3C-1ic7kK455W-00KSu4; Sun, 20 Oct 2019 09:49:35 +0200 In-Reply-To: <87h844474c.fsf@mail.de> (Stefan Huchler's message of "Sun, 20 Oct 2019 02:01:55 +0200") X-Provags-ID: V03:K1:9ui83S06lK4q/pyskbH3AHkQnUQP/xwPrrijLN3XyQt1ORBPyHW Nwy38Io8LRfuNQcTmTZSkRaKpLYE5uaNxR7rT0wFGDYqLC/nVnw0Kguj/AQpAYsowTt5fzA w5ZqQA2010HkONl4YjiRQnE9qgYsFyt/b8C/5TTQ8Nd6xeBXXwopxTJOCyY8Jq8Z+OTg/G4 B57y4n4rKlqtpc3QxPRiQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Z0jBiM2XP0Y=:YASHOzUuzwL0UF4ZVWO6kz rGboCPTaxTvvj+UqXC4gFxIJoArapzfBgYKKcZN4P16ZB+MWrP74dt0tIwJQQbiWjzRUddeOf Uef4PHYofcL0KxhXN8dQrG7rCRH4A2Mp0TPxPqirdT7ktiHsm09QaEe64jxWS6kTqBSqow1ff /Nx60aiUthDzK13hxC5TVRxN7ialvrsi/k9gyof5+tHXB1Wm27Q25NFH6w/21UJGo4AaAM6eN cupIqxLznvANZ4tmE2qPgZJv67z2Rm+SbS40sU/4iLQRRL9Enk/ahGPrKMfa6evEL46/Pt6KC wzC0mXbk8AfpmAQxMLqKx8vTpTr2L/p1fxQfZW1CqGvD+Dqly46pKQda+6sPqpvOwcwTL6/iD qCkD8D4AcI+QzFOTA0Y6WI7JE++Wi2gxdPkEKN2KohNoypQi0R8qn8v4uAXj4UYJAvhRQh1mW i+LNH0PZlWdVraO4bQZSmEtZwO1ThT4OwAsZeu7xrRXy6YVuJ8zld02gOjksakGvrsU1GpYOc IYBh9NEzwd+euosCbQZH59CaA0uJRZgj3ReMNh2lUc2zY4FzDunujTQ/BE/nIkNhKIAdoDJX8 efrdevYzn4CyNE7zdE5JrxF8kZmp0HWgX7amhxd2kgFxmJ5CEljmpOTcox4z1LbQ8HRja3sys 2ryrcw0Q1+XKTsLXLlutjrhF6H/rhjCORNelPSTacAFTNMkwLoLcCpnmwBD89IfBAh0ZPEDvd ebo5mgP/uM5Rk0R9hsmXtFzrVXREtchn49B7Z3hCF2Ma/tUG81R9YVLqWhRKYBDhc/Kxdk/y X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121679 Archived-At: Stefan Huchler 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.