bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57572: 29.0.50; Tramp error with tramp-file-name-unify


From: Michael Albinus
Subject: bug#57572: 29.0.50; Tramp error with tramp-file-name-unify
Date: Sun, 11 Sep 2022 10:18:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Thierry Volpiatto <thievol@posteo.net> 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. That's why you bind it in helm
to t. Of course it will work when you don't bind it. But then, there are
other problems.

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.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]