[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 13:48:51 +0200 |
8 maj 2019 kl. 12.58 skrev Eli Zaretskii <eliz@gnu.org>:
> IOW, I wonder whether your proposed patch could be made more general
> in some way.
So do I, but since I could not come up with one, this ad-hoc solution appeared
as a placeholder.
The code can be improved later on, but the patch is a strict improvement on the
code in master.
An example of a generalisation: We could add a buffer-specific variable that
tells autorevert that yes, this buffer can rely on directory notifications
despite not having a buffer-file-name. All modes to which this applies would
need to set that variable.
I don't think there is a passive condition, and furthermore, because of the
nature of directory notifications, any mode that qualifies is likely to be some
kind of variation on Dired: a buffer whose contents is determined by the set of
files in its default-directory, but not their data.
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, (continued)
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/04
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Michael Albinus, 2019/05/04
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Michael Albinus, 2019/05/04
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/04
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Michael Albinus, 2019/05/05
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/05
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Eli Zaretskii, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Eli Zaretskii, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification,
Mattias Engdegård <=
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Eli Zaretskii, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Michael Albinus, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Eli Zaretskii, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Eli Zaretskii, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Michael Albinus, 2019/05/08
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Michael Albinus, 2019/05/09
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Mattias Engdegård, 2019/05/10
- bug#35418: [PATCH] Don't poll auto-revert files that use notification, Michael Albinus, 2019/05/12