GNU bug report logs -
#48067
28.0.50; Tramp error: cannot determine gio monitor
Previous Next
Reported by: Thierry Volpiatto <thievol <at> posteo.net>
Date: Tue, 27 Apr 2021 17:06:02 UTC
Severity: normal
Found in version 28.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 48067 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Thierry Volpiatto <thievol <at> posteo.net> writes:
>
>>> Hi Michael,
>
> Hi Thierry,
>
>> More exactly, it seems gio command is correctly extracted in
>> `tramp-sh-handle-file-notify-add-watch` with
>> (tramp-get-remote-gio-monitor v) but later in the process filter
>> (tramp-connection-property-p proc "gio-file-monitor") returns nil.
>
> 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.
Thanks.
--
Thierry
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 75 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.