From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#51386: 29.0.50; fido-vertical-mode: ssh host completion Date: Wed, 27 Oct 2021 11:39:00 +0000 Message-ID: References: <410f97e4-1cc0-3a3e-bc07-b076ccd52ac8@inventati.org> <822aec9d010037a1158a@heytings.org> <87916c87-fcea-d8a4-5f1d-9066e845add1@inventati.org> <822aec9d01dd14907c52@heytings.org> <664bd93fdd4dd6ce0249@heytings.org> <2f34674e-a170-99e6-f923-dabbd7013e60@inventati.org> <877ddzk64t.fsf@gmx.de> <1df528ef-ade0-898f-29fc-2936cb2c88c3@inventati.org> <878ryeet1p.fsf@gmx.de> <874k92en9f.fsf@gmx.de> <01168286-7350-b5d5-764d-97bcd5623780@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51386@debbugs.gnu.org, Manuel Uberti , Michael Albinus To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 27 13:40:50 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfhIY-000503-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 13:40:50 +0200 Original-Received: from localhost ([::1]:51602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfhIW-0000aH-PF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 07:40:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfhHm-0000a6-Qr for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 07:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfhHm-0006L8-J7 for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 07:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfhHm-0001nC-Fi for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 07:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Oct 2021 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51386 X-GNU-PR-Package: emacs Original-Received: via spool by 51386-submit@debbugs.gnu.org id=B51386.16353347456810 (code B ref 51386); Wed, 27 Oct 2021 11:40:02 +0000 Original-Received: (at 51386) by debbugs.gnu.org; 27 Oct 2021 11:39:05 +0000 Original-Received: from localhost ([127.0.0.1]:48570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfhGr-0001lm-9U for submit@debbugs.gnu.org; Wed, 27 Oct 2021 07:39:05 -0400 Original-Received: from heytings.org ([95.142.160.155]:37522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfhGn-0001lL-U2 for 51386@debbugs.gnu.org; Wed, 27 Oct 2021 07:39:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1635334740; bh=MtaiFmOrXFN52SCfvIE2ahO8SmgJ2tUryDASaRy5PAQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=BKN0JTgnDOaPCRwTxFxoY+XWdjpJ1tW8mv6lH3ISDu5+2hnvlQnIz/Oj4aGyueFet 5APzvJBPpsPU0BRCTft4ABGaL599fIlk1iSkyWd+oLI4CpfU0qKjc/OeZQa3prgaQV LCEsYUa+TX8EgcbO2GWWWYU7Yo3WU8MVOV12a6gJYHWpNL759/a66bmY/bnAXBP1Xf d4Crfni63RYXTbcHra2QB3eCNEl+cpcjeG1KNXbnmPQQSE/jL7fsiM4Jl98ugA61hH sIILmm29WzHHvKs7GH7Mc0LnC7nI1cIbt1pG7+TIPdjGUYej/rIDvrz3ShAXR0ani7 bNqzpMv+bUsGQ== In-Reply-To: <01168286-7350-b5d5-764d-97bcd5623780@yandex.ru> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218434 Archived-At: > > flex aside, does this completion work with the 'substring' completion > style, for example? > It depends what you mean by "work" ;-) 1. Without my patch: 1.1. With (substring) alone: / TAB lists all Tramp methods and all directories in the root directory / ss TAB is completed and offers the ssh: sshfs: sshx: methods / ssh: TAB displays "Sole completion", and it's not possible to complete hostnames (with or without a first char) 1.2. With (substring basic): / TAB lists all Tramp methods and all directories in the root directory / ss TAB is completed and offers the ssh: sshfs: sshx: methods / ssh: TAB displays "Sole completion", but after typing one more char you get the list of hostnames which start with that char 2. With my patch: 2.1. With (substring) alone, nothing works, Tramp methods and hostnames are not recognized, which is at least coherent with what the manual says: "User name and host name completion is activated only, if file name completion has one of the styles 'basic', 'emacs21', or 'emacs22'". 2.2. With (substring basic): / TAB lists all directories in the root directory / ss TAB is completed and offers the ssh: sshfs: sshx: methods / ssh: TAB displays the list of hostnames