From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#60505: 29.0.60; Fido Mode and Tramp Completion Date: Mon, 06 Feb 2023 18:26:06 +0100 Message-ID: <87zg9qr9ht.fsf@gmx.de> 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6431"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 60505@debbugs.gnu.org, Eli Zaretskii , Gregory Heytings , julien@jroy.ca To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 06 18:27:19 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 1pP5Gw-0001W9-VG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Feb 2023 18:27:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP5Gj-00068p-6m; Mon, 06 Feb 2023 12:27:05 -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 1pP5Gg-00068c-05 for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 12:27:03 -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 1pP5Gf-0004m0-O5 for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 12:27:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pP5Gf-0006re-Jj for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 12:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2023 17:27: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.167570438326318 (code B ref 60505); Mon, 06 Feb 2023 17:27:01 +0000 Original-Received: (at 60505) by debbugs.gnu.org; 6 Feb 2023 17:26:23 +0000 Original-Received: from localhost ([127.0.0.1]:49776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP5G3-0006qQ-0P for submit@debbugs.gnu.org; Mon, 06 Feb 2023 12:26:23 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:41749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP5G0-0006q7-Fi for 60505@debbugs.gnu.org; Mon, 06 Feb 2023 12:26:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1675704369; bh=2PLy7J6X9iCxas9J9xUhLgEIfL+b1hg+fo+r5NqerE8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=CH51EJdBLN4dOyXXK/jWvE04HBMb3uTsHBbHJVGnaj5NMgidycTxbvK6akgVxdwM8 gu2P189Da59wWM2lJFsAQDYYgkoiTu2tCDCXb8OoscqeOiIN0nbAvMA3issWKfwW/x 1p+KaB2fhYnNWI4b4ZcLZTRVQ5j17Z1ns9JCRNMKrzDreHXf8S66OsaD9sJu2ybe9y 9j+N5I/Xk1QTO54jNskj6CWTrRjF6/LldEUP0xZiPAB7RqXfZkl3LBQbDoCq424yFK d0hQaye93M0utdKdndEJYLQS1teMHlgJ4tQj3nristNoEk9BfeZrNMXVa0vWvZMFv9 fiS298OoGtfoQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.22]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbAh0-1osDPc3tJg-00beF9; Mon, 06 Feb 2023 18:26:09 +0100 In-Reply-To: <87mt5udaey.fsf@gmx.de> (Michael Albinus's message of "Fri, 03 Feb 2023 16:40:53 +0100") X-Provags-ID: V03:K1:MCdxvepk7At7t/GqTNEWUnrjwNK6/wsHByWlvaNnIFG7SLwSGU7 8iJEqHUAMPhzlxAhKfytOdnQYgn5QURrdXo9b8geA2OTZMiDqrSe6ljXRX3+SzQOD0f6Bu5 KMEamw1EZWBbHAPzlinNIxsmV2PYfkTcP59dUyxk2dLfC8ya5wAL064ytfPda+k0uGT0E5+ gvrh1zHbK26CmlnJvY/Sw== UI-OutboundReport: notjunk:1;M01:P0:fXZOQdy0Ai0=;QQ/+V4gvcZ2RWT+Pm6VyVsr9JNd h7zy5ja59ilvPNGh/zABZ7kw6Hkh65f1yg+RjOeD7Ou8hRKFnoSWdhLkAwKx5+3sdXgxsZ9Rz lpg81feyS5OqPkyh08FpskFRV3mh6md1ZBhQCMmzCz8EHEg//HjB9ItO2daGv4wHNEJJDtqPR tB1yXRYwYKcPPc+Nf/8p9zwe0oLq0iR6IcY6QnnmBCpMTlLycauqi6EZsT9RDn9FBHtbJP27S myGziqjdtKMgZ2afo65GEhupuT3TZ609pK1hcXoBk7QEBAfJ9HLqheZCvZBdt51eXK3nxC8lC U9gJ3Ire2HqJzPweqi4UCFZYRTk3CYMFcqYqYFEFTxe88CtdyYkoiLbzfSLzPkCPue9kru7ot ZhIf/QUOex9Vjng6q1wjav2QSrTmVsnzhpBPqziokdV5aE8IS1XLmOMR73/+BRfc22TSOQgvQ iu4KqLoJrLc1a3hVdKUb6Q9WPHwAjAIuVG2sZrTa1gA2GBB7qU1AbNEd07AdN8yK6OavtDZVb Dun/DhBzYeZgW9NPyOppKBOSXjaie4T8OMjVhRmE1VpIDkaSAoupAn4SjxZ0ngIt3uQDAFMep uK36MBoERkRXpln2/lJJOvdnRPwxVYS19Q3Y7eEDoObJBSIgN5dsgdKcraJ4XTfC+U3IcC4wz KUBJwHfxXAigYTsaMLdtJS8Jh7lcJ8hYaGyfz0AYKN5o00hrdut8Lh6RDphUQ2XA9pek+VqJf CdfPp3z8eD8wS7H5M0LFFEcNsLhcx1vEEow+neN+SnLVG2uQA5vGytVsOmUW2CpgUck+2DIz 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:254985 Archived-At: Michael Albinus writes: Hi, > 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. > > It doesn't work (yet) for the separated Tramp syntax, but this isn't our > major problem, and could be fixed later. Could people check how it plays > in their environment? I've improved the patch, and I've committed it to master. It works now for all different Tramp syntaxes as well as for all completion styles except `initials' and `shorthand'. Likely, these two are not so relevant for file name completion. There's also a new test, tramp-test26-interactive-file-name-completion. It doesn't cover yet user name completion and multi-hop file name completion, these are still open. I'll keep the bugs open until this has been fixed as well. > Perhaps. So this patch isn't a candidate for Emacs 29.1. I would push it > to the master branch (when there is positive feedback), and I would also > add it to the tramp-2-6-stable branch in the Tramp git repo. By this, > the next Tramp 2.6 release on GNU ELPA would contain this change as > well, and we could get broader feedback. The upcoming Tramp 2.6.0.2, being released on GNU ELPA later this month, will contain the fixes. Best regards, Michael.