GNU bug report logs -
#20943
25.0.50; Dired buffers are not always auto-reverterd
Previous Next
Reported by: Mark Karpov <markkarpov <at> openmailbox.org>
Date: Tue, 30 Jun 2015 18:24:02 UTC
Severity: normal
Found in version 25.0.50
Done: Mark Karpov <markkarpov <at> openmailbox.org>
Bug is archived. No further changes may be made.
Full log
Message #47 received at 20943 <at> debbugs.gnu.org (full text, mbox):
> From: Mark Karpov <markkarpov <at> openmailbox.org>
> Date: Fri, 03 Jul 2015 13:33:15 +0600
>
> 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?
Did you see all of this happening in "emacs -Q"? If not, please try
with "emacs -Q", and see if the problem exists there as well.
Also, did you try loading autorevert.el by hand (the .el file, not the
.elc file), and if so, did that help?
Finally, when you say that 'revert's value doesn't reflect what it
should, did you actually insert 'message' printouts into the code, and
saw that happening? If not, please try that, I'd like to see an
explicit evidence that assigning a value to that variable somehow
doesn't work there.
Thanks.
This bug report was last modified 9 years and 310 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.