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: Tramp shows no user/host completions (solved while writing) Date: Thu, 24 Oct 2019 21:36:03 +0200 Message-ID: <874kzyylzw.fsf@gmx.de> References: <87v9seb0af.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170738"; 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: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 21:38:13 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 1iNivz-000iD8-5U for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 21:38:11 +0200 Original-Received: from localhost ([::1]:51458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNivx-0001Ha-4w for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 15:38:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58920) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNiu2-0001Az-26 for help-gnu-emacs@gnu.org; Thu, 24 Oct 2019 15:36:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNiu0-0002Ss-2M for help-gnu-emacs@gnu.org; Thu, 24 Oct 2019 15:36:09 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:43183) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNitz-0002SR-L9; Thu, 24 Oct 2019 15:36:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1571945766; bh=Cmfau5OV5jtec/SdA9JZK2gSAOsJmGTkz+1b30i0MS4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=VLU6jGsAtSY+e6S/hlRLUbJ+25IxN8F1utlDpyrXkchkDf7HXg66CfTIoL0Aten/R NUcr27vus3ZC/XyT0IXjxM5wYskZUzGeFPuznuaCXyQJld+FOLR6xdE/p4539VZTES wfWuiqVK2yEU1BJyPrAD2GfH4Y4hWMjsJf2sVXxc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.50.254]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MtfJd-1i9TwI3c1H-00v6Ts; Thu, 24 Oct 2019 21:36:05 +0200 In-Reply-To: <87v9seb0af.fsf@gnu.org> (Tassilo Horn's message of "Thu, 24 Oct 2019 18:01:12 +0200") X-Provags-ID: V03:K1:yvmJrwb/EBmgi8C9NkzdRdiOzBvZsOfGqbD9mVowxw0cppLwcyb URIxYy9svPctlnCGC11Kb7ve38C/bClIP2UhEi+0ty7ALbkxrpGnuowT6kcWkCNTOqI13Li FwqdhY68uBPxNi4BHTNWwF1af31B46O25NNy9D4sxPMwDP/eH2OobYDBRMdB+N3mc8mdAVj Vblr8rhFORdAQYu9K2cKw== X-UI-Out-Filterresults: notjunk:1;V03:K0:i0VOXZnt97k=:eEMRlKBue+Z+YtZfDEdUnK TU/1hM2gppQ1jwvJWMlhX/9LjHD5pV4pd7n+jXu0uUNINiz0r4AeQNFGgomKO2FWJ6AnmKt+Q 7SY663v/cp0Ua12/a6HyvCj0QQqzplqJmPE7d8Q8xoiBPGOe4g3r5zPr8IkqVqL1RVsocIAd+ uCVwcA3oUq+qV2aHXsbtytGqkDGbd1xH2hnCGqnuSmKb5/usOQLimEXzsCOZeLdpWRgjL8tD4 ymo/MgfCVH5Ohg3nSq4wPogECade2wHeRq6v5zfCDNTic6FAn78zMS7mSBLJUw6a4lb/ILzTm 8DEmFReSDkHn6U3u+pKydFKYzqaXmcQieoPrOihw+NekkDX4jCB3OjvWaxLaGNVxKqIfxxmNd c3si7hIhKmGPCBk4KpzrKDE6+P6c/nns81WC84wzqKE2l+gWrSsIW6WNaahqlKV0W8Ag0jGNO cBUUwZHJhlLeZfyfyMJ2lZ8J6sxWlN2r/FCNRbh09U404p3xNxNqdH6pP9wV2Eeay7tAm0xEP kjD7IY2BJKoO2Jl4Mtx8e4UwMCen/wDa7zMOheBKoVYPNGcW70vzgFsv+lsyJZvVdyvb2qyF0 NuMGwkWUd9lQAyI280lq5lZl7ZxfQoAQLqsQ3YJn9LVas7KKkm5NU/RQhT8f57PfCzb1jP8HE RefoarloNZqgpHl1d4L1ug7XMF2Jmult1GG8bQc3i7UTdt9WZZvXNhdd1H71j6PQDbh3SHteI tZ7JIegUFHtAmJnLbptU/lBCQiBg2DyoJzeKebhdD65FFTs+QEtBvH/o/mg93wEYObYElV5E X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 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:121718 Archived-At: Tassilo Horn writes: > Hi all, Hi Tassilo, > with "emacs -q", C-x C-f /ssh: showed many completions for host > names but with my custom emacs setup, it just says [no matches]. I've > debugged around for an hour, started to write this mail, and then > eventually found the culprit. > > It seems like you absolutely must have the `basic' completion style in > `completion-styles' or the `file' entry in > `completion-category-overrides'. No `basic', no Tramp username/hostname > completions. > > Just in case someone runs into the same issue... I cannot reproduce the problem. With a recent Emacs 27.0.50, I run - emacs -Q --eval "(setq completion-styles '(partial-completion emacs22) c= ompletion-category-overrides nil)" - C-x C-f /ssh: TAB It returns completion /ssh: and /sshx: - Moving point after the colon, inserting f TAB It returns all hostnames starting with f. You could apply another letter but f, of course. > Bye, > Tassilo Best regards, Michael.