[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21559: [PATCH] autorevert: Wait a while before calling vc-find-file-
From: |
Michael Albinus |
Subject: |
bug#21559: [PATCH] autorevert: Wait a while before calling vc-find-file-hook |
Date: |
Tue, 27 Oct 2015 09:25:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
[removing emacs-devel, discussion in one ML is sufficient]
Ben Gamari <ben@smart-cactus.org> writes:
Hi Ben,
> This provides a resolution for Bug #21559.
Thanks for the patch.
But as I said already, I'm not happy to insert so much hard-wired vc
related operations into autorevert.el. And this is triggered just by
git, IIUC the other vc backends do not suffer from this problem.
Have you considered another solution, maybe by providing vc(-git)
specific buffer-stale-function and revert-buffer? This would be much
more in the spirit how autorevert is supposed to work. And this would
simplify maintenance, when git changes its behaviour, and we need to
adapt vc-git accordingly.
Best regards, Michael.