GNU bug report logs -
#20299
25.0.50; File notification is not working
Previous Next
Reported by: Sean McAfee <eefacm <at> gmail.com>
Date: Sat, 11 Apr 2015 00:41:01 UTC
Severity: normal
Tags: notabug
Found in version 25.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 20299 <at> debbugs.gnu.org (full text, mbox):
Sean McAfee <eefacm <at> gmail.com> writes:
Hi Sean,
> auto-revert-use-notify had a value of t, and yet
> auto-revert-notify-modified-p was nil even in buffers whose associated
> files had changed out from under them. I verified this visiting a
> file,
> then repeatedly issuing the shell command "echo foo >> my-file" and
> then
> evaluating the expression (auto-revert-handler) with M-:, but the file
> never got reverted.
On which directory have you done this? Note, that inotify does not work
on mounted directories.
> I can just set auto-revert-use-notify to nil going forward, but it
> would
> be nice to get file notification working as intended.
Another test you might apply is setting prior magit-auto-revert-mode
(require 'filenotify)
(require 'trace)
(dolist (elt (all-completions "file-notify-" obarray 'functionp))
(trace-function (intern elt)))
You will observe in the buffer *trace-output*, whether file
notifications events arrive.
Best regards, Michael.
This bug report was last modified 10 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.