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#50387: Possible bug in Tramp or in completions Date: Wed, 08 Sep 2021 07:57:27 +0000 Message-ID: <8c50c56384a003de1923@heytings.org> References: <79cd87e590549c0d916d@heytings.org> <79cd87e590b404a83d08@heytings.org> <8735qi3yn0.fsf@gmx.de> <75d560562c0ab9fd3910@heytings.org> <87r1e1ej2y.fsf@gmx.de> <75d560562c20d8f71e17@heytings.org> <87h7exeh56.fsf@gmx.de> <75d560562c1f93d6a0f7@heytings.org> <877dftebod.fsf@gmx.de> <75d560562c385dda28c0@heytings.org> <87y289cuos.fsf@gmx.de> <75d560562c15a7c4aab4@heytings.org> <87eea0czkx.fsf@gmx.de> <11c4e3821a86a11e0b8f@heytings.org> <11c4e3821ab7d19109fb@heytings.org> <87a6kocvn7.fsf@gmx.de> <11c4e3821a544b043840@heytings.org> <871r60cmwo.fsf@gmx.de> <11c4e3821a7883ef488a@heytings.org> <87wnnsb6uk.fsf@gmx.de> <11c4e3821a2fd364eabe@heytings.org> <87k0jrbk8x.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="12576"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , 50387@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 08 09:58:13 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 1mNsTD-00030f-VN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 09:58:12 +0200 Original-Received: from localhost ([::1]:37988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNsTC-0002OS-HJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 03:58:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNsT4-0002OD-5a for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46939) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNsT3-0005x6-UY for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNsT3-00042j-SH for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:58:01 -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, 08 Sep 2021 07:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50387 X-GNU-PR-Package: emacs Original-Received: via spool by 50387-submit@debbugs.gnu.org id=B50387.163108785215504 (code B ref 50387); Wed, 08 Sep 2021 07:58:01 +0000 Original-Received: (at 50387) by debbugs.gnu.org; 8 Sep 2021 07:57:32 +0000 Original-Received: from localhost ([127.0.0.1]:58485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNsSa-000420-5r for submit@debbugs.gnu.org; Wed, 08 Sep 2021 03:57:32 -0400 Original-Received: from heytings.org ([95.142.160.155]:51912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNsSY-00041r-2H for 50387@debbugs.gnu.org; Wed, 08 Sep 2021 03:57:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1631087848; bh=tBJ/HSeXo3I/tp9V3h9MapfOcPixLkQscmVIDb69OLM=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=FAD225BNBWOi8kShCogsMTQ8iVheYejP844Y+o1ImlddpKa70anLdNGQFOvI7MVXO yh0fcnFs43N9UWZ7ISn5Rxtxjl6kgnBffadUyi2+0nyapIpQGSVkJrVvjEZYO6qEyG BBLr7e9UMbapkdp+lD7rxIhaOIa+E/zd8X3b99o+ceno1ls/rw3WEPTOwKqusN2BRe EOuqRif2MrQ9JgCKN9hDjENoO6viaqKy6u12/XDdl2zRwvaSgSy1DVwBVR/AMvwGAR VTxAClTjfYi/ydRbCMHYWeDSQCWQqxFIGOM8+F0W6IITFkdacvFOAOuyhHaAd8x9xV gz0Z8fB6x13dQ== In-Reply-To: <87k0jrbk8x.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:213795 Archived-At: > > But as Tramp maintainer I believe there is no bug in Tramp (anymore); I > have no knowledge of completion styles in order to help fixing it there. > There is a bug, because the return values provided by Tramp to the (substring and flex) completion mechanisms are not what these mechanisms expect to do their job. Tramp should not return methods when (tramp-completion-handle-file-name-all-completions "" "/") is called, because there are no methods in the root directory, what the root directory contains is files. If Tramp was using another character instead of "/" before methods, the problem would not exist because there would be a clear way to differentiate files and methods. Anyway, I think I've now made my point as clear as possible, and I use the correct bugfix in my local Emacs, so I won't continue this discussion.