From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#57572: 29.0.50; Tramp error with tramp-file-name-unify Date: Sun, 11 Sep 2022 08:50:43 +0000 Message-ID: <87sfkyjnf8.fsf@posteo.net> References: <87pmgbip99.fsf@posteo.net> <87r10jwjn3.fsf@gmx.de> <87a677l1dr.fsf@posteo.net> <8735czw2oa.fsf@gmx.de> <87wnaajt3v.fsf@posteo.net> <87tu5euxwu.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4612"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57572@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 11 11:01:35 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 1oXIqM-00012n-Vv for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 11:01:35 +0200 Original-Received: from localhost ([::1]:50988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXIqL-0007to-RC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 05:01:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXIpr-0007tc-2B for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2022 05:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXIpq-00070K-Oa for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2022 05:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXIpq-0005gw-4b for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2022 05:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Sep 2022 09:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57572 X-GNU-PR-Package: emacs Original-Received: via spool by 57572-submit@debbugs.gnu.org id=B57572.166288684421846 (code B ref 57572); Sun, 11 Sep 2022 09:01:02 +0000 Original-Received: (at 57572) by debbugs.gnu.org; 11 Sep 2022 09:00:44 +0000 Original-Received: from localhost ([127.0.0.1]:40713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXIpY-0005gI-AA for submit@debbugs.gnu.org; Sun, 11 Sep 2022 05:00:44 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:50701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXIpT-0005g3-Js for 57572@debbugs.gnu.org; Sun, 11 Sep 2022 05:00:43 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 962A1240027 for <57572@debbugs.gnu.org>; Sun, 11 Sep 2022 11:00:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1662886833; bh=JFULfkhD76hN8zJ6t+I4PminnXRp+ZyPh65lTbDX1fM=; h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From; b=KAGclxOiA9+vbcGdrdDL73dMCEoX5Uz0hTAunGMTvnanPCD10jb3NyxMjBjXDXioM Bf4uhRZ7WC72Mh60k3v4BXYgnNDOijTKWkvW61B8G4sUOkGdE5Zbs/OfBBRNb1kCY7 uEnQ2HjNtZm80QKM0qt44A9pjPWHug5AewQXkcYCfyl1Pdb1vgBFPBKzbDQVwtylA8 AlKmAwk9Cu5L6GG3ktVZxb5+t+Pwyy8jxR+8q0d6GoIn2B8WwkZagRlzZ0vCfls3RB zk+RX2eKkeZG0BwxshlwTXnWbc5vAT6KWtk/N6eLLIkvnY3m18BlMFsaePhwK0310x UzhhcZT8ZUzKw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MQNww10k4z6tnh; Sun, 11 Sep 2022 11:00:29 +0200 (CEST) In-reply-to: <87tu5euxwu.fsf@gmx.de> Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHOBBMBCgA4AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmL3HCoACgkQDsVtFB0W75OVEAv/f6XxmtIFz08fUb8h Bp/zJP6IC4/rhhh+0GMRIRzLN8DK0jV8JCzYdFHiRJOy2lNIOpmrrCmjRRxferc2G42+ePFIsslx hU46VSz1Z83NwIG3mpdYNV5WUTUdgzxExHTNTFCd7NKv0nlHKQa OpenPGP: url=https://posteo.de/keys/thievol@posteo.net.asc; preference=encrypt 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:242130 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Michael, Michael Albinus writes: > Thierry Volpiatto writes: > > Hi Thierry, > >>> But wait, you are in file name completion. >> >> Yes, but not sure tramp detects a "file name completion" here as it is >> not a standard completion used here. > > Tramp doesn't need to detect that you're in file name completion or > whatever, there are some functions to be called depending on the file > name syntax you pass as arguments, that's all. > >>> So I guess you have bound `non-essential' to t. In that case, >>> `expand-file-name' expands only, if the connection is established >>> already. >> >> I have now bound non-essential to nil _before_ calling >> file-accessible-directory-p and I have no error. >> Perhaps it is the right way to do? > > non-essential is a mean to tell Tramp, that it shouldn't open a > connection when it isn't established yet. Yes, it is what I always understood but I am now confused because the connection is trigerred by file-accessible-directory-p even with non-essential=3D=3Dt. > That's why you bind it in helm to t. Of course it will work when you > don't bind it. It is bound to t on top but it is nil in helm-find-files-get-candidates. > But then, there are other problems. Yes of course but only if I bind it on top, isn't it? > The patch I've shown to you yesterday solves your helm-find-files > case, but the Tramp testsuite fails. I'm analyzing what's up. Ok thanks. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmMdo6sTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvkzmVC/97YPMKjr8acKK2+CDQuxIBgncDNR48 h0DrWxAT3WXd7XSsrrMdMim+5uvn+Ljf6Taqk9dP4TWDvXAa4JCLWSO4gmighYm8 nb4svyd//MQe560yVVOv0xiznE5whWDry5yniP/Aj6XXnDHf9j0Pn7rM1loA1yAs 8PhWzxqaEzviCY4ETsU6IxSJECPlKkNPKgA0U4yFFBar5I0d1AQo7YKDQm3fKKKf J8MlE1eisjeK/JoEwOQAB7ja3HoWAJVAkxiSPH4wTHgRLdaLbqU29NHLyl9yPSrj h2i/Vj8mlS0wYLIUxBFAnWTDrmvUcRZIhHmYfuPJZGO0Q2njqxzuwwDfWaD/IOQH PZ8oto8LrxMMGoAJwiiahWCfeM7vtvO1mlTSlSbwcubVrXhVEoPFKQMhaYnSz4qo /wRfz41aExYdhaz50Ka7jCORTYWDZ638PqPAz4jKm+ka65rnPFrV0LjEiTBM/FhR a2rxN446ZHKh500d22XzsDHtOqonolVx6yw= =gy8s -----END PGP SIGNATURE----- --=-=-=--