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#53223: 27.2; multi-hop TRAMP with find-file-visit-truename t Date: Wed, 23 Feb 2022 09:40:43 +0100 Message-ID: <87ee3u7z78.fsf@gmx.de> References: <877db48x7m.fsf@hp.cfotr.com> <87a6fzpwfr.fsf@gmx.de> <87sftr73x1.fsf@hp.cfotr.com> <87mtjzz2fl.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="13099"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 53223-done@debbugs.gnu.org To: Aleksei Fedotov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 23 09:43:46 2022 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 1nMnFS-0003HZ-Aw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Feb 2022 09:43:46 +0100 Original-Received: from localhost ([::1]:39066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMnFQ-0006M4-VJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Feb 2022 03:43:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMnCo-0004hg-7q for bug-gnu-emacs@gnu.org; Wed, 23 Feb 2022 03:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMnCn-0005mc-Tm for bug-gnu-emacs@gnu.org; Wed, 23 Feb 2022 03:41:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMnCn-0002AT-Sf for bug-gnu-emacs@gnu.org; Wed, 23 Feb 2022 03:41:01 -0500 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Feb 2022 08:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53223 X-GNU-PR-Package: emacs Mail-Followup-To: 53223@debbugs.gnu.org, michael.albinus@gmx.de, aleksei@fedotov.email Original-Received: via spool by 53223-done@debbugs.gnu.org id=D53223.16456056548293 (code D ref 53223); Wed, 23 Feb 2022 08:41:01 +0000 Original-Received: (at 53223-done) by debbugs.gnu.org; 23 Feb 2022 08:40:54 +0000 Original-Received: from localhost ([127.0.0.1]:43750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMnCg-00029h-GV for submit@debbugs.gnu.org; Wed, 23 Feb 2022 03:40:54 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:33129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMnCe-00029P-Mf for 53223-done@debbugs.gnu.org; Wed, 23 Feb 2022 03:40:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645605644; bh=R/YcMzuC07n/dQSz8w+NIBl3P/GMyPRhA3Cv1E1P/9U=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=XiUKow19m3QyrgkJ4T2jQBLoMdvtVsK3hecSMjEuHyRK1dR2Ex8lW0kcHz1UkawAI BDppRXxzPrCUHXjA0LjJLN2bSEA2zFgw2SGq7l3TGr6jc9niTZ1xgzbyfpf9KlECYa uMYoChwsae2A8HBuiP6QklNd9gamyweVbJscrFhE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.91.249.160]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MvbBu-1oCptC2bTy-00scI9; Wed, 23 Feb 2022 09:40:44 +0100 In-Reply-To: <87mtjzz2fl.fsf@gmx.de> (Michael Albinus's message of "Thu, 13 Jan 2022 23:38:38 +0100") X-Provags-ID: V03:K1:oRAobcn8iwEV5xeG7Gp5zM9gKMCeC9PFV9U00YoatrNHFqRuEp5 YLwhHkQDAea1Qe99rjzyygjflR8dtz5m6/oAVYuKkwP3n0HFDeHrYUc+w3eeG9svwK7sbXx gMdOLQsmBtuReMhYUJBPLiHQagkAUq46iHGEyc5rsvh7SH4m+cEdWe5f+vdaO8UtCpdJqtz oGWBdOfqDTutb9UX7DnQQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:iFKgxdJfcec=:NSjhUa/XuAXRUjYAtyCZUd htEWV7fvMeMaS9ugDuUFcXWCgXH7iQrisF9akmXmi7dfgyv7XyW29dS7AqKgh0uf7o1WcJcJy JKFBqvT+bKbgnEoz7o49FMefuKJsALErrlv8voRGS4gd+7DuSKxc1lKpAP9bNARpesF8agAle YIdPSA/MMECgLj7d9EavS0cWhsLiQ42XVy0q7s8IFOT+d9kAB+uwTt9wVv7P9pnlVQVlmDiHh NJhp4zeWuO0ieugpxA/C2xhw7OYLbcJnfpa9rrqrXY6C0+JQ6Iy6bw8BJ2p8AUjBklMpGUc9y LeUvUF68inRExh3x3MJxyFCKe7XfEYHeOnAvckTsslJt1FAdRzN2r4F0WMKXsJD+NzPFBc2Um FYdZn0fqB+isbi06VHFS7BXF55/VY0MpcgaU0VAI7k84WL7nEriQf1N1Yw+HEsYxvd7hERF4p CxhEZgno9vXJoxuolibZh0GUZIyy/DEOkkWMEIPmOrQXyjd3cynT05VFhktndJF8r1CYxA4wN vcepmxCMJPWa5RghcDZrqhtgvF2fv5qaAH8OQvrfgkrIlAnUhoOx7U2woFVrYWnRjDFn1zf4e uEigLYrdsxiOm+j2ghqyH//kGVD0iufJPt351SmyCbBWKSj4mKCbnsESpDXQUI4Lko+Uuq3Gy tS9UKRalEJgY+BniuMWNe9ZABcW+FVtYbNsO/26T0iQnXM2SU9zCM6Ozbe1qjqzFM+8Z2GZlB rmUfsGql0jf4VFDPbnsPrqIporeskS/6ZGR+jUsutYjQRkD5PLNJog3xBjoNgbHAgTb82duK 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:227484 Archived-At: Michael Albinus writes: Hi Aleksei, >> It works exactly as described in the documentaion, but what is bothering me is >> the difference in behaviour depending on the state of >> `find-file-visit-truename'. It should only affect symlink resolution, but it >> also changes Tramp behaviour. >> >> If `find-file-visit-truename' is set to nil, then Tramp is able to revert the >> buffer and add a multi-hop definition back to `tramp-default-proxies-alist'. >> If `find-file-visit-truename' is set to t, then it doesn't work. Shouldn't the >> buffer somehow preserve the full path? > > It isn't just a find-file-visit-truename problem. Tramp cleans up ad-hoc > multi-hop proxies when tramp-cleanup-all-connections is performed. This > could happen for many different Tramp file name operations, not just > file truenames. It is sheer luck for you that the example works when you > haven't set find-file-visit-truename. > > If you replace tramp-cleanup-all-connections by tramp-cleanup-this-connection > in your example, it works as expected. No further comment, so I close this bug. Best regards, Michael.