Stephen Gildea <[email protected]> writes:

Hi Stephen,

> After 10 seconds, Emacs recovers by re-opening the connection.  I like it.
> Most of the time, the recovery is completely smooth.  I have to be fast
> (under 10 seconds) to see Emacs get surprised by a closed connection.
> This works even if the mount point is shared by two Emacs processes.  Nice.

While testing, I've increased `tramp-fuse-mount-timeout' :-)

> The call to tramp-flush-file-property added to tramp-fuse-unmount is
> missing the KEY argument.  I can reproduce this by running
> tramp-cleanup-this-connection, which gives a "Wrong number of arguments"
> error.

Oops. I didn't test with tramp-cleanup, instead I've used fusermount3 -u
from the shell. Thanks for reporting!

> There is one comment in tramp-fuse-mounted-p that could be clearer:
> the sentence 'We use file property "/" in order to apply a timeout, for
> regular recheck.'  I think this change is an important point of this
> patch, and I want to make sure the design is understood correctly.
>
> How about this wording:
>
> Remember the mount status by using a file property on "/", instead of
> using a connection property, because a file property  has a timeout.
> Having a timeout lets us regularly recheck the mount status, as
> requested by `tramp-fuse-mount-timeout'.

Taken.

I have pushed everything to the emacs-28 branch, as usual.

Best regards, Michael.

Reply via email to