From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Tramp shows no user/host completions (solved while writing) Date: Sat, 26 Oct 2019 23:51:06 +0200 Message-ID: <87zhhn9nw5.fsf@gnu.org> References: <87v9seb0af.fsf@gnu.org> <874kzyylzw.fsf@gmx.de> <16dff4d0648.27dc.69bc538c4644581689883e654f15bce0@gnu.org> <87a79po1vj.fsf@gnu.org> <87lft8yjnj.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="245933"; 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: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 27 00:37:16 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 1iOUgO-0011qj-0V for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 00:37:16 +0200 Original-Received: from localhost ([::1]:43282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOUgM-0004pk-Iv for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Oct 2019 18:37:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34131) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOTxn-0007Ee-7D for help-gnu-emacs@gnu.org; Sat, 26 Oct 2019 17:51:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iOTxm-0003Md-Q0; Sat, 26 Oct 2019 17:51:10 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:41533) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1iOTxm-0008LX-JP; Sat, 26 Oct 2019 17:51:10 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 04FBD2222E; Sat, 26 Oct 2019 17:51:10 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sat, 26 Oct 2019 17:51:10 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrleeigddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecukfhppeekgedrudefvddrle elrdegieenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghu thhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpe epghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: from thinkpad-t440p (p5484632e.dip0.t-ipconnect.de [84.132.99.46]) by mail.messagingengine.com (Postfix) with ESMTPA id 24EA0D6005B; Sat, 26 Oct 2019 17:51:09 -0400 (EDT) In-Reply-To: <87lft8yjnj.fsf@gmx.de> (Michael Albinus's message of "Fri, 25 Oct 2019 16:38:56 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:121728 Archived-At: Michael Albinus writes: > Indeed. When I complete "/ssh:f TAB" with one of `emacs21', `emacs22' > or `basic' in `completion-styles', I see the call > > (file-name-all-completions "ssh:f" "/") > > which performs host name completion in Tramp. For the other completion > styles, there is just > > (file-name-all-completions "ssh" "/") ;; for `partial-completion' > > or > > (file-name-all-completions "" "/") ;; for `substring' and `flex' > > or even no call for `initials'. Would you consider that a bug? At least from a user perspective, it seems odd that more powerful completion styles restrict the completion candidates, though I do understand the technical details that lead to the observed results. > So I have added the following sentence to the Tramp manual: > > User name and host name completion is activated only, if file name > completion has one of the styles =E2=80=98basic=E2=80=99, =E2=80=98emacs2= 1=E2=80=99, or =E2=80=98emacs22=E2=80=99. > *Note (emacs)Completion Styles::. Good. (But it would be better if it wasn't needed.) Bye, Tassilo