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: Wed, 3 Feb 2016 13:15:48 +0100 Message-ID: References: <83h9hrytom.fsf@gnu.org> <87lh72xln0.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013a09963079ce052adc9528 X-Trace: ger.gmane.org 1454501840 32472 80.91.229.3 (3 Feb 2016 12:17:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2016 12:17:20 +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 Wed Feb 03 13:17:11 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 1aQwMv-0006ZV-Gf for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 13:17:09 +0100 Original-Received: from localhost ([::1]:34402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQwMu-0002t6-Pa for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 07:17:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQwMr-0002sy-3U for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 07:17:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQwMn-0007eC-Sq for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 07:17:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQwMn-0007e6-QJ for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 07:17:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aQwMn-0004X5-KO for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 07:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Popineau Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Feb 2016 12: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.145450177617368 (code B ref 22534); Wed, 03 Feb 2016 12:17:01 +0000 Original-Received: (at 22534) by debbugs.gnu.org; 3 Feb 2016 12:16:16 +0000 Original-Received: from localhost ([127.0.0.1]:57512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQwM4-0004W4-DL for submit@debbugs.gnu.org; Wed, 03 Feb 2016 07:16:16 -0500 Original-Received: from mail-ob0-f171.google.com ([209.85.214.171]:33045) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQwM1-0004Vn-QA for 22534@debbugs.gnu.org; Wed, 03 Feb 2016 07:16:14 -0500 Original-Received: by mail-ob0-f171.google.com with SMTP id is5so26727138obc.0 for <22534@debbugs.gnu.org>; Wed, 03 Feb 2016 04:16:13 -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=6kwrZHJ2KL064DS9u3ZZ3jNAk8m95DVPmonG/3u67HI=; b=JE81cLznt4Dh7jh47L0m0ZYoMb85PG8gZdU3N8bh7KYrRK+TeJmG3oVnAkmWKriRja /v3vE08rLYwoQ4zw7+pMjYxzmXLy3M6kP5j63WYy5mDMIjgnFJKDdbT0i0PlUApm28zQ KSNYutqI015dXLyliHaEq/zg+D8mBaTdTzgoxVmwdUT1nXBB/SfUXAdVValsVVfmbG+Z upvFZgrXYSioHvtCb6zl2WyWhAn8e4qMPS/la8gokaucX94+0A/S9U4HcqUGdt9qhYi4 1eyy3Vw51g5TqRNWITdgWWXZNwNWvl797Vk8SLX0RnQyA6gznRRbRngmKrTCfweByt5u q7hA== 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=6kwrZHJ2KL064DS9u3ZZ3jNAk8m95DVPmonG/3u67HI=; b=OUKGNfG4L2Fqp7H6OUd6hB59NlnOmxyKBReQKwQ1s3YUdvRApYUF5BqjPluUZIMln6 tLTQPuXB5gENUld00WU4Es/JqV9/G+uRoj83SRMaT8mHeqnmDPQ/VHqdYcHCmflizrhL cme8pY41Zynx9JEdMjvzp1gumrUCDJ8VIf/3RUAHI2uhyZKe1RsThZlVB4K2NL8PcUEf jxPJOCkzBa2dff9tjzbBy/bAtQ9icJ4BUvapsrDwRjrC4cVXFyRNqj2oNvotA4H4eO2w 5bYcvU+m+qTni3N0lbewA21hkOFRafnq9dOTlsd2UnS//Q32gI4xf7vUtGQS4pgsYFUw qUaA== X-Gm-Message-State: AG10YOQKk41X04BMaZmSWTcIrNqg/MhOqo0teiHSgZRFUnG4o83jRnHKduRqnqyNDEoT4Sbg4og+IMNJkSBnjg== X-Received: by 10.182.153.10 with SMTP id vc10mr1455085obb.10.1454501767695; Wed, 03 Feb 2016 04:16:07 -0800 (PST) Original-Received: by 10.202.78.67 with HTTP; Wed, 3 Feb 2016 04:15:48 -0800 (PST) In-Reply-To: <87lh72xln0.fsf@gmx.de> 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:112335 Archived-At: --089e013a09963079ce052adc9528 Content-Type: text/plain; charset=UTF-8 2016-02-03 9:07 GMT+01:00 Michael Albinus : > Fabrice Popineau writes: > > > You will find the commit below (with not too much surprise). > > However, I don't have much time these days to sort this out. > > I'll check next days, need to find an MS Windows machine first. > > Thanks Michael. I have observed something weird during the file-notify tests. I traced file-notify-test02-events. The read_event function doesn't time out in 0.1s as it is supposed to. It waits for the time specified by (file-notify--test-timeout) before returning the right value. (Well actually, the value returned by the third test in file-notify-test02-events is wrong but it is another story). So I'm afraid some logic is wrong, and possibly not only in file-notify but also in the way w32 should handle those timeouts. Fabrice --089e013a09963079ce052adc9528 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable