From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 716b468: Extend `file-notify-test02-rm-watch' Date: Mon, 01 May 2017 20:45:15 +0200 Message-ID: <87lgqgmn5w.fsf@detlef> References: <20170322131610.22658.57119@vcs0.savannah.gnu.org> <20170322131611.5FF7D20E17@vcs0.savannah.gnu.org> <70055ee8-c1cb-30d2-8a0b-38637adad497@cornell.edu> <87mvbutvo6.fsf@luca> <4f1308e2-0b49-ef3e-fae7-02bdd8dc75ef@cornell.edu> <3b093156-b214-7e90-58a4-06343c1c73c8@cornell.edu> <87pofsnah1.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493664373 17760 195.159.176.226 (1 May 2017 18:46:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 May 2017 18:46:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Andreas Politz , emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 01 20:46:09 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5GKm-0004T8-NG for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 20:46:08 +0200 Original-Received: from localhost ([::1]:55406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5GKs-0003B8-DM for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 14:46:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5GKB-0003Aq-D3 for emacs-devel@gnu.org; Mon, 01 May 2017 14:45:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5GK6-0007F9-Hx for emacs-devel@gnu.org; Mon, 01 May 2017 14:45:31 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:64984) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5GK6-0007Es-71 for emacs-devel@gnu.org; Mon, 01 May 2017 14:45:26 -0400 Original-Received: from detlef.gmx.de ([212.86.41.46]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M3ARX-1du4M640n9-00sv9u; Mon, 01 May 2017 20:45:18 +0200 In-Reply-To: (Ken Brown's message of "Mon, 1 May 2017 14:28:24 -0400") X-Provags-ID: V03:K0:vZ1u6EB+98UDGgv04UPemRNPaKS9D/kNXZy0JWL8v4wW3sKXP3b OqUpvLx2llFu++WQ80QI31/B7uHDP7NntYwnaXVYZL8j5DpGfPr/rZ4q/w2H0KQGVqeovur 4w4cxgtq9R18w9joHVmFv04elpfhAhQUAppuhqvB/gjDpIuZfvKrK9hr0gDMA8gGumg5bji 3+czVy5VT+g2brVest1OA== X-UI-Out-Filterresults: notjunk:1;V01:K0:1TlvwBSa1aY=:dsDMq/Y7POTyxhjFRQUHBh cb8l3IWDWr2K3JsoZO2khy2ND5FMVeep39AdGT2PZDF2gdtVOmHpAr0Cd0BhD8HFGsI9J4wLF WyKdnxrNicSmiMLifWCx9Sq4sTvj4ZJBwqWAKScAzQbtHFR8k37Pz7wpT0zdzpoCwNdU6+Qo8 hSkULQW8Rk1OzfjR+fnjQ87FiL2OBz3sKUJz1hgm1RMVk6YgAmNLE+8MH370tjBTrpS4ofeCI 4gtgR2ytUTiEfm4X066QWrxw5fgtPpzLpNKvppr2GYHzAFstH2Od956WwuLc2py+J9gYSrRQR nQAY99jOKFVCkRNpJMk3Nv0M7qBOo5gSEZceCh3FsfVUGQEX2tJP244uzEAUdT+LYlg1L3yK5 W08+/zsC/p18MyZsG2kD/krSHgl7WqhsRe4F4n8gIg1un2r3r9WhbCj6y/J5yMndaugkXq93X /IYS0N+Wdd5+u1/BgTcoOaX40VHgNz2Tc/106eujuGlWwkSvJlOWk5ylAT2o1dpOvwFrZjPH/ Hn2HBq9w27x6q3dY8tp9wLcpBT86Necief3bmJQhUaVFz3F9XICIIgVzrj+IYMnMiV+WZ9VDR fQkMSyZCfzd1JG/oofaNKRR3vFtt0f9K/EyzKOYNjkrTBgAyRA6C08P8e1QjGrNtYfy5qqtlO ZyCU+NIGAnzjxNZ3NMc7DOA0PL4Wmude6ebyYILP1ZUTdcSXJeyNSwYjCX2pXxNatakFxa2z3 KE5+x6PFvKzwUm22H1NW01NxLo3CBn8vUCU61aeKrX8uiQKrPhac/ZFp31Hi0GHOU+lsp+ls X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214501 Archived-At: Ken Brown writes: > Hi Michael, Hi Ken, > On my systems I seem to need a much larger sit-for timeout (on the > order of 0.1 or more rather than 0.001) in order for the test to pass. > But maybe this is not worth worrying about, since it's clear that this > is a timing issue rather than a file-notify problem. I've moved the `sit-for' call to `file-notify--test-read-event' by intention, so we have just one place to change. You could do something like (if (eq system-type 'cygwin) (sit-for 0.1 'nodisp)) The other backends do not need them as far as I'm aware of, so do it at your convenience. Maybe also with a comment ... >> One point still irritates me: the tests run under cygwin change the >> results after a while. Several tests which pass after a reboot of a >> machine, will fail when I use the machine for some hours. It isn't the >> first time I've observed this, so I need to reboot my machine again and >> again when working for cygwin. >> >> Do you know this behaviour? > > No, I don't see this. I hardly ever reboot my computer. But I mostly > run 64-bit Cygwin. Are you running 32-bit Cygwin? And are the > problems related to fork failures? (You would see error messages to > this effect on the terminal or in the logs.) If so, I might be able > to help. But in that case we should probably continue the discussion > off-list. Likely 32-bit. But I use it very rarely, so I don't want to waste your time with debugging when you don't know it from somewhere else. > Regards, > > Ken Best regards, Michael.