Subject: Re: bug#21841: 25.0.50; auto-revert-mode broken when several files have modifications on disk

From: Michael Albinus <[email-masked]>
Date: Sat, 07 Nov 2015 19:54:21 +0100

Dmitry Gutov <[email-masked]> writes:

> The "last resort" case is worrying. In that situation,
> auto-revert-mode would switch over to filenotify, but, if I'm reading
> #21241 right, then it might start missing some notifications.
>
> I wonder whether we should use gfilenotify at all, unless explicitly asked.

There are still platforms which have nothing else. cygwin, *BSD, ...
Maybe we could try to make gfilenotify more robust, and let it
autodetect when it cannot work properly. In this case it shall commit
suicide (send the `stopped' event); auto-revert-mode would fall back to
polling then.

Best regards, Michael.