Michael Albinus writes: > [[PGP Encrypted Part:OK]] > Thierry Volpiatto writes: > > Hi Thierry, >>>> 17:01:06.548820 tramp-get-file-property (8) # /home/thierry/tmp file-exists-p t >>>> 17:01:09.974262 tramp-get-file-property (8) # /home/thierry/tmp file-directory-p t >>>> 17:01:14.119915 tramp-sh-gio-monitor-process-filter (6) # # >>>> /home/thierry/tmp: /home/thierry/tmp/test.txt: created >>>> /home/thierry/tmp: /home/thierry/tmp/test.txt: changes done >>>> /home/thierry/tmp: /home/thierry/tmp/test.txt: attributes changed >>> >>> As you see, there're also local file names. >> >> Yes, I saw this it is why I don't understand how it could work on 27 and >> not on 28. > > What exactly does not work on Emacs 28? helm-find-files cache is not updated when something change in a remote directory. > Events do not arrive? Yes. > Events have wrong values? >>>> 17:01:14.121499 tramp-accept-process-output (10) # gio 0 run nil >>>> 17:01:14.121681 tramp-handle-file-notify-rm-watch (6) # Kill # >>>> 17:01:14.121981 tramp-file-notify-process-sentinel (5) # Sentinel >>>> called: `#' `processus arrĂȘtĂ© >>>> ' >>>> 17:01:14.122501 tramp-accept-process-output (10) # gio 0 signal nil >>>> 17:01:14.122652 tramp-handle-file-notify-rm-watch (6) # Kill # >>>> 17:01:14.122948 tramp-sh-gio-monitor-process-filter (10) # Rest string: >>>> >>>> 17:01:18.684045 tramp-get-file-property (8) # /home/thierry/tmp file-directory-p undef >>>> >>>> As you can see the *rm-watch is called. >>> >>> Yes. But we don't see why. >> >> This is what I would like to know ;-) >> >>> And I also don't know how this is related to your problem. >> >> I am not sure it is related to my problem, I just suspect it is. > > Maybe you can set file-notify-debug to t? You will see how events go > around. > >>> OK, a test. I use the handler from the elisp manual: >> >> Yes, I already tried similar tests. > > So I've lost you. What works, and what not? > >> Anyway, perhaps you can push your changes? They are an improvement over >> what is actually in master. > > Done. > > Best regards, Michael. > > > [[End of PGP Encrypted Part]] -- Thierry