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#22534: File notify broken on Windows Date: Mon, 08 Feb 2016 20:09:32 +0200 Message-ID: <831t8nqdk3.fsf@gnu.org> References: <83h9hrytom.fsf@gnu.org> <87lh72xln0.fsf@gmx.de> <838u30wbx5.fsf@gnu.org> <83fux7v56c.fsf@gnu.org> <871t8rm5x8.fsf@gmx.de> <83si17t02p.fsf@gnu.org> <83wpqhsrv3.fsf@gnu.org> <874mdllk0f.fsf@gmx.de> <83r3gpsjey.fsf@gnu.org> <83a8ncs9b4.fsf@gnu.org> <871t8nwl80.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454955223 9066 80.91.229.3 (8 Feb 2016 18:13:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 18:13:43 +0000 (UTC) Cc: 22534@debbugs.gnu.org, michael.albinus@gmx.de To: Fabrice Popineau Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 19:13:28 2016 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 1aSqJT-0001dp-F7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 19:13:27 +0100 Original-Received: from localhost ([::1]:47490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqJS-0007BX-JP for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 13:13:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqJA-0006pf-1c for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:13:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqJ5-0000JD-IM for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:13:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqJ5-0000J9-EV for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:13:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSqJ5-0000f9-Cx for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:13:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 18:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22534-submit@debbugs.gnu.org id=B22534.14549551272377 (code B ref 22534); Mon, 08 Feb 2016 18:13:03 +0000 Original-Received: (at 22534) by debbugs.gnu.org; 8 Feb 2016 18:12:07 +0000 Original-Received: from localhost ([127.0.0.1]:60316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqIB-0000cA-3y for submit@debbugs.gnu.org; Mon, 08 Feb 2016 13:12:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43544) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqI8-0000b7-9V for 22534@debbugs.gnu.org; Mon, 08 Feb 2016 13:12:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqFw-0007cM-O5 for 22534@debbugs.gnu.org; Mon, 08 Feb 2016 13:09:53 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqFw-0007cH-KH; Mon, 08 Feb 2016 13:09:48 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1543 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSqFv-0004n9-S0; Mon, 08 Feb 2016 13:09:48 -0500 In-reply-to: (message from Fabrice Popineau on Mon, 8 Feb 2016 11:43:10 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:112719 Archived-At: > From: Fabrice Popineau > Date: Mon, 8 Feb 2016 11:43:10 +0100 > Cc: Eli Zaretskii , 22534@debbugs.gnu.org > > > events: ((created changed deleted)) ((17491048 created > > c:/Users/Fabrice/AppData/Local/Temp/file-notify-test-parent20748Ali/file-notify-test20748Nvo) > > (17491048 changed > > c:/Users/Fabrice/AppData/Local/Temp/file-notify-test-parent20748Ali/file-notify-test20748Nvo)) > > Fails also for me in batch mode. Surprisingly, it doesn't fail always, > sometimes (about 1 in 10 runs) it succeeds here, and fails in the next > step. Strange. > > I see the same. The deleted notifications number vary. When you expect 2, sometimes I see 1. > When you expect one, sometimes I see it. But not frequently. Did you try adding calls to read-event after the functions that are supposed to produce these events? (I didn't yet have time to look into the traces. Will do when I have time.) Btw, is there an easy way of running just one test out of file-notify-test.el? Running all of them takes a long time, especially now that the 06 test is no longer considered "expensive". Thanks.