GNU bug report logs -
#35418
[PATCH] Don't poll auto-revert files that use notification
Previous Next
Reported by: Mattias Engdegård <mattiase <at> acm.org>
Date: Wed, 24 Apr 2019 18:16:02 UTC
Severity: normal
Tags: patch
Done: Mattias Engdegård <mattiase <at> acm.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Mattias Engdegård <mattiase <at> acm.org>
> Date: Wed, 8 May 2019 10:34:13 +0200
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 35418 <at> debbugs.gnu.org
>
> + ;; Don't bother creating a notifier for non-file buffers
> + ;; if there is a custom `revert-buffer-function'.
> + ;; An exception is made for Dired, since that mode works
> + ;; well with notifiers.
> (when (and auto-revert-use-notify
> - (not auto-revert-notify-watch-descriptor))
> + (not auto-revert-notify-watch-descriptor)
> + (or buffer-file-name
> + (eq major-mode 'dired-mode)))
Is Dired the only exception from the rule? Or is there a more general
indication that a non-file buffer may want to be automatically
reverted? E.g., what about Info buffers? revert-buffer does work
there.
Thanks.
This bug report was last modified 6 years and 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.