GNU bug report logs - #20943
25.0.50; Dired buffers are not always auto-reverterd

Previous Next

Package: emacs;

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 #41 received at 20943 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mark Karpov <markkarpov <at> openmailbox.org>
Cc: 20943 <at> debbugs.gnu.org
Subject: Re: bug#20943: 25.0.50; Dired buffers are not always auto-reverterd
Date: Thu, 02 Jul 2015 17:52:31 +0300
> From: Mark Karpov <markkarpov <at> openmailbox.org>
> Date: Thu, 02 Jul 2015 14:02:02 +0600
> 
> I've set ‘auto-revert-use-nofity’ like this:
> 
>   (custom-set-variables
>    '(auto-revert-use-notify nil))
> 
> Then I managed to reproduce this behavior. After that, I evaluated
> 
>   (dired-directory-changed-p DIRNAME)
> 
> and result was t. Any ideas what's going on?

The next step is to verify that the auto-revert-handler function is
called every 5 sec as expected.  Can you add to its beginning some
printout that, say, displays the value returned by
current-time-string, and see if that function gets invoked regularly?

If it does, then it should call buffer-stale-function, which Dired
sets to dired-buffer-stale-p, which should return non-nil, since you
say dired-directory-changed-p returns non-nil.  And then the buffer
should be reverted.

Please see which parts of this do not work in your case.

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.