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: Thu, 02 Jul 2015 17:52:31 +0300 Message-ID: <83egkq1uj4.fsf@gnu.org> References: <87y4j1oy87.fsf@openmailbox.org> <83bnfx2ckn.fsf@gnu.org> <87y4j0fj8m.fsf@openmailbox.org> <831tgr3np9.fsf@gnu.org> <87r3ort2bp.fsf@openmailbox.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1435848800 19814 80.91.229.3 (2 Jul 2015 14:53:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2015 14:53:20 +0000 (UTC) Cc: 20943@debbugs.gnu.org To: Mark Karpov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 02 16:53:11 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 1ZAfrR-0002kY-Nv for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 16:53:09 +0200 Original-Received: from localhost ([::1]:37085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfrR-0001PF-3R for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 10:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfrN-0001P5-Ln for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAfrK-0002D1-Ml for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:53:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfrK-0002Cv-J3 for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAfrK-0005IB-Cd for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:53: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: Thu, 02 Jul 2015 14:53: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.143584875220303 (code B ref 20943); Thu, 02 Jul 2015 14:53:02 +0000 Original-Received: (at 20943) by debbugs.gnu.org; 2 Jul 2015 14:52:32 +0000 Original-Received: from localhost ([127.0.0.1]:37786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAfqp-0005HO-B2 for submit@debbugs.gnu.org; Thu, 02 Jul 2015 10:52:32 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:49106) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAfqm-0005H8-LY for 20943@debbugs.gnu.org; Thu, 02 Jul 2015 10:52:29 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NQV00J007P4V200@mtaout25.012.net.il> for 20943@debbugs.gnu.org; Thu, 02 Jul 2015 17:48:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQV00IP67SC2520@mtaout25.012.net.il>; Thu, 02 Jul 2015 17:48:13 +0300 (IDT) In-reply-to: <87r3ort2bp.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:104616 Archived-At: > From: Mark Karpov > 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.