From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20943: 25.0.50; Dired buffers are not always auto-reverterd Date: Wed, 01 Jul 2015 18:38:41 +0300 Message-ID: <83vbe328hq.fsf@gnu.org> References: <87y4j1oy87.fsf@openmailbox.org> <83bnfx2ckn.fsf@gnu.org> <87lhf0berl.fsf@gmx.de> <871tgsbb6d.fsf@openmailbox.org> <87fv58b6k7.fsf@gmx.de> <87si989rcq.fsf@openmailbox.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435765167 2006 80.91.229.3 (1 Jul 2015 15:39:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2015 15:39:27 +0000 (UTC) Cc: 20943@debbugs.gnu.org, michael.albinus@gmx.de To: Mark Karpov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 01 17:39:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZAK6S-0002LL-9B for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jul 2015 17:39:12 +0200 Original-Received: from localhost ([::1]:59660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAK6R-00069m-Ev for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jul 2015 11:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAK6N-00067b-4Z for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 11:39:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAK6J-0003vg-25 for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 11:39:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAK6I-0003vY-Rf for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 11:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAK6I-00018W-De for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jul 2015 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20943 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20943-submit@debbugs.gnu.org id=B20943.14357651244339 (code B ref 20943); Wed, 01 Jul 2015 15:39:02 +0000 Original-Received: (at 20943) by debbugs.gnu.org; 1 Jul 2015 15:38:44 +0000 Original-Received: from localhost ([127.0.0.1]:36222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAK5z-00017v-Ul for submit@debbugs.gnu.org; Wed, 01 Jul 2015 11:38:44 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:63928) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAK5w-00017e-QU for 20943@debbugs.gnu.org; Wed, 01 Jul 2015 11:38:41 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NQT00200F2P7A00@a-mtaout22.012.net.il> for 20943@debbugs.gnu.org; Wed, 01 Jul 2015 18:38:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQT001P6FGAZD80@a-mtaout22.012.net.il>; Wed, 01 Jul 2015 18:38:34 +0300 (IDT) In-reply-to: <87si989rcq.fsf@openmailbox.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104581 Archived-At: > From: Mark Karpov > 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?)