Subject: bug#48067: 28.0.50; Tramp error: cannot determine gio monitor

From: Michael Albinus <[email-masked]>
Date: Wed, 28 Apr 2021 13:16:38 +0200

Thierry Volpiatto <[email-masked]> writes:

Hi Thierry,

>> Does the appended patch fixes this?
>
> Partially. No more error but the watcher have no effect like on
> emacs-27.
> helm-find-files is caching the directories it visits and for each
> directory is adding a watcher, for example on emacs-27:
>
> M-x helm-find-files => navigate to /sudo::/home/me/tmp/ directory:
>
> foo.txt
> bar.txt
> baz.txt
>
> Now from a shell:
>
> touch ~/tmp/test.txt
>
> M-x helm-find-files => navigate to /sudo::/home/me/tmp/ directory:
>
> foo.txt
> bar.txt
> baz.txt
> test.txt
>
> test.txt is not added with emacs-28, that's mean the watcher didn't
> notify helm to remove tmp directory from cache.

I need Tramp traces with tramp-verbose set to 10. Please start a fresh
session via "emacs -Q".

You can send the traces direct to me, w/o debbugs.gnu.org in Cc, in
order not to trash the debbugs database and ML.

> Thanks.

Best regards, Michael.