From: Michael Albinus <michael.albinus@gmx.de>
To: Thierry Volpiatto <thievol@posteo.net>
Cc: 57572@debbugs.gnu.org
Subject: bug#57572: 29.0.50; Tramp error with tramp-file-name-unify
Date: Sat, 10 Sep 2022 19:44:58 +0200 [thread overview]
Message-ID: <87y1uruns5.fsf@gmx.de> (raw)
In-Reply-To: <87edwjb5z7.fsf@posteo.net> (Thierry Volpiatto's message of "Sat, 10 Sep 2022 15:20:20 +0000")
Thierry Volpiatto <thievol@posteo.net> writes:
Hi Thierry,
> I tried this and it seems to work without error:
>
> (file-accessible-directory-p
> (if (string= (file-remote-p path 'localname) "")
> ;; First connection
> (concat path "/") ;; path == "/sudo:root@IPad-S340:" (see above)
> path))
>
> Not sure if it is safe with other methods though, didn't try.
No, in general "/method:host:" isn't equal to "/method:host:/". So the
cache values would be kept for the wrong file.
> Thanks.
Best regards, Michael.
prev parent reply other threads:[~2022-09-10 17:44 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 7:02 bug#57572: 29.0.50; Tramp error with tramp-file-name-unify Thierry Volpiatto
2022-09-04 11:12 ` Lars Ingebrigtsen
2022-09-04 20:16 ` Thierry Volpiatto
2022-09-10 11:31 ` Michael Albinus
2022-09-10 14:53 ` Thierry Volpiatto
2022-09-10 17:37 ` Michael Albinus
2022-09-10 19:55 ` Thierry Volpiatto
2022-09-12 4:34 ` Richard Stallman
2022-09-12 4:43 ` Thierry Volpiatto
2022-09-11 6:49 ` Thierry Volpiatto
2022-09-11 8:18 ` Michael Albinus
2022-09-11 8:50 ` Thierry Volpiatto
2022-09-11 13:08 ` Michael Albinus
2022-09-11 14:29 ` Thierry Volpiatto
2022-09-11 10:14 ` Thierry Volpiatto
2022-09-11 12:58 ` Michael Albinus
2022-09-11 14:25 ` Thierry Volpiatto
2022-09-11 16:29 ` Michael Albinus
2022-09-10 15:20 ` Thierry Volpiatto
2022-09-10 17:44 ` Michael Albinus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1uruns5.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=57572@debbugs.gnu.org \
--cc=thievol@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.