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: Fri, 05 Feb 2016 21:43:26 +0200 Message-ID: <83si17t02p.fsf@gnu.org> References: <83h9hrytom.fsf@gnu.org> <87lh72xln0.fsf@gmx.de> <838u30wbx5.fsf@gnu.org> <83fux7v56c.fsf@gnu.org> <871t8rm5x8.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454701467 15655 80.91.229.3 (5 Feb 2016 19:44:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 19:44:27 +0000 (UTC) Cc: 22534@debbugs.gnu.org, fabrice.popineau@gmail.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 20:44:12 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 1aRmId-0008Uc-Dv for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 20:44:11 +0100 Original-Received: from localhost ([::1]:50145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRmIc-0003gg-Kj for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 14:44:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRmIV-0003gI-CT for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 14:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRmIU-00053N-Gl for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 14:44:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRmIU-00053E-DF for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 14:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRmIU-0000tJ-83 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 14:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2016 19:44:02 +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.14547014393410 (code B ref 22534); Fri, 05 Feb 2016 19:44:02 +0000 Original-Received: (at 22534) by debbugs.gnu.org; 5 Feb 2016 19:43:59 +0000 Original-Received: from localhost ([127.0.0.1]:34740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRmIR-0000sw-Gl for submit@debbugs.gnu.org; Fri, 05 Feb 2016 14:43:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39027) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRmIQ-0000sh-Id for 22534@debbugs.gnu.org; Fri, 05 Feb 2016 14:43:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRmIH-000523-DQ for 22534@debbugs.gnu.org; Fri, 05 Feb 2016 14:43:53 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRmIH-00051t-9e; Fri, 05 Feb 2016 14:43:49 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2028 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRmIG-0000yx-D9; Fri, 05 Feb 2016 14:43:48 -0500 In-reply-to: <871t8rm5x8.fsf@gmx.de> (message from Michael Albinus on Fri, 05 Feb 2016 18:18: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:112518 Archived-At: > From: Michael Albinus > Cc: Eli Zaretskii , 22534@debbugs.gnu.org > Date: Fri, 05 Feb 2016 18:18:59 +0100 > > > I have tried with different values of file-notify--test-timeout but it > > doesn't seem to make any difference. I also boosted the size of the > > file_notifications[] array (* 16) without any difference. I have > > tested with sit-for between each rename operation and it does not work > > either above 260 files > > Is it worth to continue to look for the problem in w32notify? I would simply > set the loop limit there to 250, that's it. It would be a waste of your time to look into that. Go ahead and lower the number; I will look into the problem when I have time and see what come up with. We can then pick up where we left off. > file-notify-test06-many-events is a stress test. Originally, Wolfgang > Jenkner proposed it with 10.000 iterations - that was *really* much too > long. > > [Eli] > > > (To tell the truth, I'm not sure what is the purpose of that test: > > AFAIK, none of the available notification back-ends ever promised > > not to lose events, so what are we testing here? Perhaps Michael > > can explain.) > > As said, it was intended as stress test. But we are free to adapt it to > the limitations of the underlying backend. My point is that we could legitimately lose events for reasons that have nothing to do with Emacs.