all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Sun, 11 Sep 2022 10:18:25 +0200	[thread overview]
Message-ID: <87tu5euxwu.fsf@gmx.de> (raw)
In-Reply-To: <87wnaajt3v.fsf@posteo.net> (Thierry Volpiatto's message of "Sun,  11 Sep 2022 06:49:10 +0000")

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	other threads:[~2022-09-11  8:18 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 [this message]
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

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=87tu5euxwu.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.