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: Wed, 10 Feb 2016 21:15:50 +0200 Message-ID: <83io1w9y1l.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> <831t8nqdk3.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455131844 9231 80.91.229.3 (10 Feb 2016 19:17:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 19:17:24 +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 Wed Feb 10 20:17:13 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 1aTaGG-0005f1-BR for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 20:17:12 +0100 Original-Received: from localhost ([::1]:42267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaGF-0005to-Gv for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 14:17:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaGA-0005qR-3K for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:17:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTaG6-0005ap-0q for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:17:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaG5-0005ai-NG for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:17:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aTaG5-0007yc-JQ for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2016 19:17:01 +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.145513177330603 (code B ref 22534); Wed, 10 Feb 2016 19:17:01 +0000 Original-Received: (at 22534) by debbugs.gnu.org; 10 Feb 2016 19:16:13 +0000 Original-Received: from localhost ([127.0.0.1]:35276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTaFI-0007xX-Rk for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:16:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56478) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTaFH-0007xI-DG for 22534@debbugs.gnu.org; Wed, 10 Feb 2016 14:16:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTaF8-0005J6-5L for 22534@debbugs.gnu.org; Wed, 10 Feb 2016 14:16:06 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaF8-0005J2-1q; Wed, 10 Feb 2016 14:16:02 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2984 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTaF7-00023e-6p; Wed, 10 Feb 2016 14:16:01 -0500 In-reply-to: (message from Fabrice Popineau on Mon, 8 Feb 2016 20:15:59 +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:112866 Archived-At: > From: Fabrice Popineau > Date: Mon, 8 Feb 2016 20:15:59 +0100 > Cc: Michael Albinus , 22534@debbugs.gnu.org > > > 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? > > Yes, but with no results. Strange. I see none of that on my machine. Maybe it's because my disk is SSD, maybe because this is XP. Who knows? Michael, I think it's time to do what you suggested: > If we do not care the missing `deleted' event in batch mode, I could > make it optional in the test. Re this: > But maybe it is an indication for a serious problem in w32notify. It might, but it's unlikely, and I won't have time to dig into this in the following weeks, so I guess this will have to wait for a recipe I can reproduce on one of my machines. Thanks.