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 #32 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, michael.albinus <at> gmx.de
Subject: Re: bug#20943: 25.0.50; Dired buffers are not always auto-reverterd
Date: Wed, 01 Jul 2015 18:38:41 +0300
> From: Mark Karpov <markkarpov <at> openmailbox.org>
> Date: Wed, 01 Jul 2015 15:09:25 +0600
> 
> > Just to be sure: You have evalled that form prior opening the dired
> > buffer, and setting it to auto-revert-mode?
> 
> Yes, I added that to my configuration file and restarted Emacs. In my
> config I have this:
> 
>   (global-auto-revert-mode 1)
> 
> so Dired is always in auto-revert-mode by default.

For the record, I can't reproduce any of this.  I tried both with file
notifications and without them, and I could never see a change that
was skipped.

When this happens to you, i.e. in those 50% of cases, did you try
waiting for some time for the changes to be reflected in the buffer?

Also, if you disable auto-revert-use-notify, reproduce the problem
(i.e. run the script and observe no changes), and then type the
following

  M-: (dired-directory-changed-p DIRNAME) RET

where DIRNAME is the absolute file name of the directory shown by
Dired, what does Emacs show?  If it shows nil, please step through the
body of dired-directory-changed-p, and see why it doesn't see the
directory as changed.  (It relies on the time stamp of the directory
-- does that somehow fail to change on your system?)




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.