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#60505: 29.0.60; Fido Mode and Tramp Completion Date: Fri, 03 Feb 2023 22:33:22 +0000 Message-ID: References: <87k024918k.fsf@jroy.ca> <8dea9f3e0e411c315b04@heytings.org> <87tu15m6g7.fsf@gmx.de> <8dea9f3e0eb47ac9e4ab@heytings.org> <371ba1d0be1f14c7c798@heytings.org> <8aadf0ddd54d67a3213d@heytings.org> <87a62jmwj6.fsf@gmx.de> <87o7qwm3dd.fsf@gmx.de> <43562d4dd9c31382eb40@heytings.org> <87k011dtw2.fsf@gmx.de> <43562d4dd93037f7d01f@heytings.org> <834js4zi69.fsf@gnu.org> <87cz6seanu.fsf@gmx.de> <87mt5udaey.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34532"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60505@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , julien@jroy.ca To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 03 23:34:22 2023 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 1pO4dR-0008lS-NB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Feb 2023 23:34:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pO4dA-00035W-Lu; Fri, 03 Feb 2023 17:34:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pO4d8-00034u-6O for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 17:34:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pO4d7-0007mH-QW for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 17:34:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pO4d7-0005bx-KW for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 17:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2023 22:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60505 X-GNU-PR-Package: emacs Original-Received: via spool by 60505-submit@debbugs.gnu.org id=B60505.167546360621526 (code B ref 60505); Fri, 03 Feb 2023 22:34:01 +0000 Original-Received: (at 60505) by debbugs.gnu.org; 3 Feb 2023 22:33:26 +0000 Original-Received: from localhost ([127.0.0.1]:40112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO4cX-0005b8-Q8 for submit@debbugs.gnu.org; Fri, 03 Feb 2023 17:33:26 -0500 Original-Received: from heytings.org ([95.142.160.155]:42198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO4cW-0005az-9p for 60505@debbugs.gnu.org; Fri, 03 Feb 2023 17:33:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1675463603; bh=LHZGiOuVZ8aq97XcbSyXAII4YuehjfRo3BTGo46kK5A=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=DS2zNKfjRt5QAg5YWgqk9Nt/PbGr+iVgTrrXfPf2yeRwwFB7RipzBxh6jxcPV1vkL rqJLwU0XhsViQGHX+a3pF103jKdOAh+ZGIoRT+X4prva6Ehptp5SK9OSHy7gay/aqT P1L8xKGJUQx9nU883YzMc4HxBe4KNflPBoa94BTQdGh8qADJ9F08qmBKo6VEkaRl0Z /Z9+cBaLzaKOPJq6ab4WDfG3Ma5nICBtcVOAFVqaC84eN6+E3QKtPsDUMdxQp5JD6m oT1vnrt2964sTxiKrt4gUWsgwfFGqPkq5elucTib9GDXXDDREOMbZYUkMB4N16nvjP qKa1+HNWDp1WA== In-Reply-To: <87mt5udaey.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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254744 Archived-At: > > I've played with this idea, and the appended patch makes it work, > indeed. I had to adapt expand-file-name, file-exists-p, > file-name-directory and file-name-nondirectory, but the changes look > simple. It works for me now for the default completion styles (basic > partial-completion emacs22) as well as for fido-mode, with both the > default and simplified Tramp syntax. > Congratulations, that seems to work correctly indeed. It fixes the bug in Tramp, but not in the way I suggested, so I guess everyone is happy now. One minor problem: emacs -Q -l tramp C-x C-f / TAB displays "-:" in the completion candidates.