bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35418: [PATCH] Don't poll auto-revert files that use notification


From: Mattias Engdegård
Subject: bug#35418: [PATCH] Don't poll auto-revert files that use notification
Date: Wed, 8 May 2019 10:34:13 +0200

Here is a detail that needs to be taken care of: we should not use notification 
on non-file buffers, since that is generally useless (consider the Buffer List 
buffer) and, with `auto-revert-avoid-polling', prevents these buffers from 
being polled and thus updated at all.

Patch attached. There is a hack for Dired buffers, since watching their 
directories happens to be just what we want. It would be nice to generalise 
this condition somehow, but meanwhile this will have to do, unless you can come 
up with something better.

A patch for global-auto-revert-mode will come shortly.

Attachment: 0001-Don-t-use-file-notification-on-non-file-buffers.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]