Michael Albinus writes: > Maybe you can set file-notify-debug to t? You will see how events go > around. Thanks for this, it helps. This happen on emacs-27: ;; file-notify-handle-event (file-notify (#> (changes-done-hint) "/sudo:root@IPadS340:/home/thierry/tmp/test.txt" nil) file-notify-callback) ;; file-notify-handle-event (file-notify (#> (attribute-changed) "/sudo:root@IPadS340:/home/thierry/tmp/test.txt" nil) file-notify-callback) On emacs-28 nothing happen when modifying externally same directory (tmp). -- Thierry