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: Wed, 08 Feb 2023 18:59:40 +0100 Message-ID: <87o7q4kpgz.fsf@gmx.de> References: <87k024918k.fsf@jroy.ca> <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> <87zg9qr9ht.fsf@gmx.de> <87h6vy71o1.fsf@web.de> <87357hkg95.fsf@gmx.de> <87cz6lfibi.fsf@web.de> <87edr1nxa0.fsf@gmx.de> <87ttzwkx9n.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="4967"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Michael Heerdegen , 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 Wed Feb 08 19:00:18 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 1pPojx-00016r-RV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Feb 2023 19:00:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPojk-0003YL-0X; Wed, 08 Feb 2023 13:00: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 1pPoji-0003Y7-Tn for bug-gnu-emacs@gnu.org; Wed, 08 Feb 2023 13:00: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 1pPoji-0005SG-Jx for bug-gnu-emacs@gnu.org; Wed, 08 Feb 2023 13:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pPoji-0007PC-Fw for bug-gnu-emacs@gnu.org; Wed, 08 Feb 2023 13:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Feb 2023 18:00:02 +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.167587919928428 (code B ref 60505); Wed, 08 Feb 2023 18:00:02 +0000 Original-Received: (at 60505) by debbugs.gnu.org; 8 Feb 2023 17:59:59 +0000 Original-Received: from localhost ([127.0.0.1]:56605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPojf-0007OS-EL for submit@debbugs.gnu.org; Wed, 08 Feb 2023 12:59:59 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:52639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPojb-0007O8-0v for 60505@debbugs.gnu.org; Wed, 08 Feb 2023 12:59:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1675879183; bh=YCgT5eFGY9GYVAxwFVl5qk8BLl7GOTg5Bh2rSwoHdKI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=twkpqfpmxrqRkcqWCAC/UAzvIlIXXyBVN7lVKSRNy1gYrhXAxNkng4DhNgJFhPVeK AEAflUkM4Ymi65gDBrM8rwKvbAFYhmatfRKKoSPRfXUPBlr5gYuA7PodKBM/HP0kCH NQ04x7ndYMh8XjkBi5CCo3jKsbcZMIK3OmmStVOMXiu8k/p7RXmNSJ7L1+d1VY7C3A 4AwHDsWX/2mH2ipdokwaUSTQDNuNEZQXkN/0QO4MarGbF5OJnOT8SRF0fs60uypz6F +L3XQvZqqwM57enr6jdHbyXG4/M5c3XknS5wUs6HAnY2eTJmvrOOpSbFSno1pF6N9y QT/YTOYrA180A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.22]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mk0JM-1ojrDK3RDk-00kP44; Wed, 08 Feb 2023 18:59:43 +0100 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Feb 2023 11:18:09 -0500") X-Provags-ID: V03:K1:Vx5qt8QQsBio91S6nYqsuWzbLfojYF5hikx2kSr3cmiN4WY9Oor tUqN38DLMgwqwa+F4E5VSqrKx1dKgGWaPlWboQf7bkP/yV2pin6n4WXDZ3SsJGehxC0+z2Z Bbjdj7bvMxJaVNKG9Zl4SNlL0nGdarX5l/uPPXmp0zs2N/pas6YxoDx6s8Oy1dX+zXEJLcl O0o98e4GL6wt5Et1cAKjg== UI-OutboundReport: notjunk:1;M01:P0:H796gX6IYec=;ro/8Zf9j23Dv+ptP3H5dRDvVM67 PdXSEZhel6OywQCZygiDkCJHE9rCYAaH0+bEtbBM+IcqpnrhwTtLPO4bkZrWGMUxg55kjMs74 uN/C7/v1vWVKex21I9uUhvv+fFh0XExdLPR1DD8NiCo0NZX4/Wr9TINJeLPOqJxHTgBiKaK1u yrtYdwJzWX+HqYfFOyc+aBt6spjw0KuvzXWEgCjydSS9StPagt6aX8naZXlMDqP9x5JFm2KJU nXFKlqKamdHxOV1Gp//GtV15KP6KnHczPOCFYsCnZrQyqxK7KgfJfjP3A873+hb6/t52vCfzz oJFjbxKm/vtQN0Z+TUh2R5ulVFe2OSZFdYMrF0Yh6wUlrN5RuAhhbwgqdrLXp5Rc6y3P3rmDj NG1ad1mao+qI82QSVgLYmJW4inHwPeq+D53oEIXeR4enXjdYdVs0LJh9lngWcY6oAvprhf7BF uCr28EAXLJwCycdX9KkX5NV05IjUVihhuQAbpdmpQtZknrt007sME+juJvwBewpIvaFSjO4g/ esyHngUf2d8wlObK6iiMZ2ypXOr62/P0telEaMIRzojo3hTAIx4nyO5NBQEzomhKQsuBW/JZO S66UMdlOimg4lW2AkyWai9shboHQ9o4a7oyItavQdgO+4Z0ziKPTCjZ8jJrI7nNdHnGt3nZSA 6p8Nt1vsGYWrmqT33hm2mxq0ErMKMMIVcj0gZgdSLez5X8rynecbhwzFODly94zYZunk8Epfc 6M5SF5+CxLn325cLmdmpkYoYGSizh43WNgruGj9ZbniumEDf/qQet5HytFV8MZ8jYVXllHHj 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:255155 Archived-At: Stefan Monnier writes: Hi Stefan, >>>>>> @@ -2773,7 +2773,7 @@ tramp-completion-file-name-handler >>>>>> "Invoke Tramp file name completion handler for OPERATION and ARGS. >>>>>> Falls back to normal file name handler if no Tramp file name handler exists." >>>>>> (if-let >>>>>> - ((fn (and tramp-mode >>>>>> + ((fn (and tramp-mode minibuffer-completing-file-name >>>>>> (assoc operation tramp-completion-file-name-handler-alist)))) >>> >>> Looks like a "quick&dirty workaround" rather than fix. >> >> Perhaps. But how could I tell Emacs, that this file name handler is >> meant for (interactive) file name completion only? > > You can't. Instead it should work regardless. Then we're back at the beginning. The heart of my patch is (file-name-directory "/ssh:host") => "/ssh:" And this shall happen only in read-file-name. > Stefan Best regards, Michael.