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: Tue, 26 Oct 2021 19:06:56 +0000 Message-ID: <664bd93fdd3ba3155067@heytings.org> 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> <664bd93fdd51d1c62c79@heytings.org> <8735onk487.fsf@gmx.de> 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="34289"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51386@debbugs.gnu.org, Manuel Uberti To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 26 21:07:10 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 1mfRmw-0008h5-FN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Oct 2021 21:07:10 +0200 Original-Received: from localhost ([::1]:46128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfRmv-0003kj-8u for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Oct 2021 15:07:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfRmo-0003ka-Sy for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 15:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfRmo-00017N-KD for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 15:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfRmo-0000nb-C5 for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 15:07: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: Tue, 26 Oct 2021 19:07: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.16352752203061 (code B ref 51386); Tue, 26 Oct 2021 19:07:02 +0000 Original-Received: (at 51386) by debbugs.gnu.org; 26 Oct 2021 19:07:00 +0000 Original-Received: from localhost ([127.0.0.1]:47563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfRmm-0000nJ-8j for submit@debbugs.gnu.org; Tue, 26 Oct 2021 15:07:00 -0400 Original-Received: from heytings.org ([95.142.160.155]:36666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfRmk-0000n9-7H for 51386@debbugs.gnu.org; Tue, 26 Oct 2021 15:06:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1635275217; bh=KIDhxtFzIZLmBBXNIFNPZqThwRcyQOmcPnHuOw7gQ3c=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Yp1iZlBYJArt5UtVQzprsfTioFiEYp6YS7fgIZFkwtOUQP8zvH9JlZ3qC/vguirEK 8+7bA3En25lkwwWNmcgMiMsqa/WII0S/k1hguQHv4YzLMI7V7n/mv0PX887+04/u/g gYnL3t0Jd843p/mwdefYjBpvYCDgCbp0WY2edojQawcEQqinQMIsxrZFvPMgpZorjF VApjUm20U5EqH1NK9nlakGUnv4rZ5Q3pgQd6cHWYN2lmFHKxrj1a3e7foftoikDOu1 IoXiCHZRTobu6CYrCVHTRfdGpQ2WyY2ddoGgyXlpEtQs5Bq9TxgyAPxm08jA2vnAal cttFQBBH3xJCA== In-Reply-To: <8735onk487.fsf@gmx.de> 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:218400 Archived-At: > > Your patch violates the file-name-all-completions API. Testing with > "emacs -Q -l tramp": > We've discussed this earlier. I concluded that the problem is in the file-name-all-completions, where it can be fixed with a single line change. You believe that the problem should be fixed at the level of the completion mechanisms, which won't happen. > > Currently, we have the following with vanilla Emacs (on my laptop): > > (file-name-all-completions "" "/") => ("sudoedit:" ...) > > With your one-line patch, we have instead > > (file-name-all-completions "" "/") => ("sbin/" ...) > > That means, all Tramp methods are suppressed. > That's a very partial way of presenting what my patch does. The truth is that Tramp methods are not at all suppressed. They are not returned when the completions of the root directory are required, they are returned as soon as at least one character is typed: (file-name-all-completions "s" "/") => ("sudoedit:" "sshfs:" ... "sys/" ...)