GNU bug report logs -
#66381
29.1; Auto-revert not polling files when notifications are enabled
Previous Next
Reported by: Daniel Jacobowitz <daniel.jacobowitz <at> gmail.com>
Date: Sat, 7 Oct 2023 01:27:03 UTC
Severity: normal
Found in version 29.1
Fixed in version 30.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #56 received at 66381 <at> debbugs.gnu.org (full text, mbox):
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: daniel.jacobowitz <at> gmail.com, 66381 <at> debbugs.gnu.org
> Date: Sun, 15 Oct 2023 15:58:56 +0200
>
> - Use a mounted share. In my environment, "z:" is a Samba mount.
>
> - Call
>
> --8<---------------cut here---------------start------------->8---
> $ emacs -l filenotify --eval '(setq file-notify-debug t)' --eval '(file-notify-add-watch "z:/123" (quote (change attribute-change)) (quote ignore))'
> --8<---------------cut here---------------end--------------->8---
>
> - In another shell outside Emacs, call
>
> --8<---------------cut here---------------start------------->8---
> $ touch z:/123
> --8<---------------cut here---------------end--------------->8---
>
> - You'll see in Emacs the messages
>
> --8<---------------cut here---------------start------------->8---
> file-notify-handle-event (file-notify (541405157192 modified "123") file-notify--callback-w32notify)
> file-notify-callback 541405157192 changed "z:/123" nil #s(file-notify--watch "z:/" "123" ignore) "z:/123" "z:/"
> --8<---------------cut here---------------end--------------->8---
>
> - Unmount the share. There shall be another file notification, but there
> isn't.
On Windows, I cannot safely unmount the volume: Windows tells me that
it cannot be safely unmounted (because watching a filer on it has a
handle open on the volume). If I unmount the volume forcibly, I see
what you expected me to see: nothing.
I guess this means the "cannot safely unmount" message will have to do
on MS-Windows.
This bug report was last modified 1 year and 277 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.