Thierry Volpiatto writes: > Hi Michael, > > Michael Albinus writes: > >> [[PGP Encrypted Part:OK]] >> Thierry Volpiatto writes: >> >> Hi Thierry, >> >>> When adding a file-notify watcher to a remote directory in helm-find-files, I >>> have an error "cannot determine gio monitor": >>> >>> Debugger entered--Lisp error: (file-error "Cannot determine gio monitor") >>> signal(file-error ("Cannot determine gio monitor")) >>> tramp-sh-gio-monitor-process-filter(# "\n(gio monitor:15942): GLib-GIO-\33[1;33mWARNING\33[0m ...") >>> [...] >>> >>> This doesn't happen in emacs-27.2. >>> It happens in emacs-28 compiled with native-comp or not. >>> >>> which gio returns /usr/bin/gio. >>> >>> Any ideas? >> >> Tramp searches for the gio monitor on the remote host. Does it exist there? > > Yes, and anyway this happen as well with sudo method on same machine. 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. Thanks. >>> Thanks. >> >> Best regards, Michael. >> >> >> [[End of PGP Encrypted Part]] -- Thierry