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

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

bug#20943: 25.0.50; Dired buffers are not always auto-reverterd


From: Mark Karpov
Subject: bug#20943: 25.0.50; Dired buffers are not always auto-reverterd
Date: Fri, 03 Jul 2015 13:33:15 +0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

OK, ‘auto-revert-handler’ is indeed called every 5 seconds, there is no
problem with that. However, see its source code and you will see lexical
variable called ‘revert’. This is always nil is my experiment. I checked
that ‘buffer-stale-function’ and ‘dired-directory-changed-p’ return t
after changes made by my script, however value of ‘revert’ doesn't
reflect this, it's always nil, so the rest of ‘auto-revert-handler’
(that is contained in (when revert ...)) doesn't undertake any actions
to revert the buffer. This is how it happens, I think. Any further
recommendations?





reply via email to

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