From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.bugs Subject: bug#22534: File notify broken on Windows Date: Mon, 8 Feb 2016 15:33:54 +0100 Message-ID: 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> <8760xzwlif.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e015385ac486a89052b4318ef X-Trace: ger.gmane.org 1454955561 14917 80.91.229.3 (8 Feb 2016 18:19:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 18:19:21 +0000 (UTC) Cc: 22534@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 19:19: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 1aSqP2-0000pQ-V1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 19:19:13 +0100 Original-Received: from localhost ([::1]:47535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqP2-0000yy-3R for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 13:19:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqOx-0000yS-1X for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:19:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqOt-0001lm-0V for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:19:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqOs-0001li-TJ for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSqOs-0000pw-RO for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Popineau Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 18:19: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.14549555333192 (code B ref 22534); Mon, 08 Feb 2016 18:19:02 +0000 Original-Received: (at 22534) by debbugs.gnu.org; 8 Feb 2016 18:18:53 +0000 Original-Received: from localhost ([127.0.0.1]:60384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqOj-0000pQ-8p for submit@debbugs.gnu.org; Mon, 08 Feb 2016 13:18:53 -0500 Original-Received: from mail-ob0-f177.google.com ([209.85.214.177]:34881) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqOh-0000pF-Ks for 22534@debbugs.gnu.org; Mon, 08 Feb 2016 13:18:51 -0500 Original-Received: by mail-ob0-f177.google.com with SMTP id xk3so163830559obc.2 for <22534@debbugs.gnu.org>; Mon, 08 Feb 2016 10:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=jHogx5D2ETOJ5b4g0ozHYn4ymDx1aQqqe9lSfpogXWI=; b=yBkqQtLXh+YD2ENZLKiyQQwh8iDEX+yQvO0mbXNrY5ntY3KSyzzuBGtWMOocQDJz0A 8gm0LBUy605yYOhTduE7MoRjlhvBGBmW4QRvKgVwJApiG8JLnf03s7H6r8RBLMW1BqXd iuMwCWa+tueFy+iOFBu8ZvkQyHmOXjz4mDXi5rrm8VjFOFbqGpVcxNEC1T0mMifcwhNo FxxbajD4O+6mhbGupIA68Wu1iZ+83LfEb7iV0qMu/UnUmbOhYPRFUa9iSr0iBtwyxodq gdtOWGIqjZpmaL65svX+Ee6eh5OQ1gc7/dJMtfaPvNsM3lYQ11i5fmeX/F/hN6qcvx6e xiQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=jHogx5D2ETOJ5b4g0ozHYn4ymDx1aQqqe9lSfpogXWI=; b=iDzNFz6HS8Im4XTBPunHz/WUU6vTQrBqFnFmaqy4hjynO9P46pCacdOJTTH8wV2v9+ xaNt1lbV/GJ6KNdPh3HL0jA5gcHEUqmskQPu8l3nrOargz77pYrUqS+a8YyPeh6gzWru BArHKyoHVZcEyr5Lq7QKsGm2Ean25TrnV0vjUazLkC1nhszi23iHDG+r0EDs8vS+6BIa qpphIU21RlFB43YmtS5e6EqrImOzDhyMrbZZyKoq3Px8WPu6KXOJoSTeR0r6JryfeSwJ tLZOWBxRC2rEXeoRduHcyb9CnEuCTqNPASZ0qwsN4X27TpJZzMzLx3/NlUibUQoXc6Ys XzLw== X-Gm-Message-State: AG10YOSVRAxmYIScKGCgY3wRekIWIu1Rk1lJymlXkRXw/K7cI+dY95/amtId5HPXT9i3dUJRdZGDC1Z2Et8fHQ== X-Received: by 10.60.58.6 with SMTP id m6mr24661908oeq.47.1454942053753; Mon, 08 Feb 2016 06:34:13 -0800 (PST) Original-Received: by 10.202.78.75 with HTTP; Mon, 8 Feb 2016 06:33:54 -0800 (PST) In-Reply-To: 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:112724 Archived-At: --089e015385ac486a89052b4318ef Content-Type: text/plain; charset=UTF-8 2016-02-08 11:40 GMT+01:00 Fabrice Popineau : > > > 2016-02-08 11:21 GMT+01:00 Michael Albinus : > >> Fabrice Popineau writes: >> >> > In the 'check for attribute change', I see only 2 'changed' >> > notifications, and not 4 >> > as expected by the test (around line 512: w32notify does not >> > distinguish between >> > 'changed' and 'attribute-changed'). >> >> I cannot confirm this, it works for me. I'm running the test on a >> Windows 7 machine using Emacs build "GNU Emacs 25.0.50.1 >> (i686-pc-mingw32) of 2016-01-29", the one provided by Dani Moncayo, plus >> the updated filenotify.el and file-notify-tests.el. >> >> > Ok, I may have been mistaken. At the moment, I see the 4 notifications. > After a couple of test runs, I can confirm that sometimes, only 2 notifications are reported in batch mode. Same problem as with the deleted events. Fabrice --089e015385ac486a89052b4318ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-02-08 11:40 GMT+01:00 Fabrice Popineau <fabrice.popineau= @gmail.com>:


2016-02-08 11:21 GMT+01:00 Michael Albinus <michael.albinus@gm= x.de>:
Fabrice Popineau <fabrice.popineau@g= mail.com> writes:

> In the 'check for attribute change', I see only 2 'changed= '
> notifications, and not 4
> as expected by the test (around line 512: w32notify does not
> distinguish between
> 'changed' and 'attribute-changed').

I cannot confirm this, it works for me. I'm running the test on = a
Windows 7 machine using Emacs build "GNU Emacs 25.0.50.1
(i686-pc-mingw32) of 2016-01-29", the one provided by Dani Moncayo, pl= us
the updated filenotify.el and file-notify-tests.el.


Ok, I may have been mistaken. A= t the moment, I see the 4 notifications.

After a couple of test runs, I can confirm that somet= imes, only 2 notifications are reported
in batch mode. Same probl= em as with the deleted events.=C2=A0

Fabrice
=

--089e015385ac486a89052b4318ef--