[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid the user triggering "Forbidden reentrant call of Tramp"
From: |
Hendrik Tews |
Subject: |
Re: How to avoid the user triggering "Forbidden reentrant call of Tramp"? |
Date: |
Wed, 21 Apr 2021 21:28:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
> I will try to implement something like this, and likely I will ask you
> to test in your environment. Would this be OK?
Certainly.
However, I am still investigating to pinpoint the problem more
precisely. I am pretty sure now that file-attributes is not the
problem. I artificially delayed stat on the remote end such that
I was able to start different foreground actions with defined
interleaving when file-attributes was called from a sentinel. It
appears that Emacs is blocked completely during file-attributes,
such that it is impossible for the user to trigger anything. This
rules out the scenario that I described in the previous message
for file-attributes. I haven't checked delete-file, but I have
hints that file-truename is problematic. Maybe there is a simpler
fix by ensuring that the remote actions inside file-attributes
block Emacs?
Best regards,
Hendrik