From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.bugs Subject: bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled Date: Sat, 27 May 2017 18:36:40 +0200 Message-ID: <87tw46w92f.fsf@luca> References: <52366f47-5bf1-8eaa-f605-44d0def010aa@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495903187 29771 195.159.176.226 (27 May 2017 16:39:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 May 2017 16:39:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26973@debbugs.gnu.org, Michael Albinus , Dmitry Gutov To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 27 18:39:41 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dEekd-0007Q7-4r for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 May 2017 18:39:39 +0200 Original-Received: from localhost ([::1]:41436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEeke-0005qM-UF for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 May 2017 12:39:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEeiB-0004Hf-77 for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 12:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEei8-0004nn-2L for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 12:37:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEei7-0004nU-OI for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 12:37:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dEei6-00011o-6V for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 12:37:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 May 2017 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26973-submit@debbugs.gnu.org id=B26973.14959030103935 (code B ref 26973); Sat, 27 May 2017 16:37:02 +0000 Original-Received: (at 26973) by debbugs.gnu.org; 27 May 2017 16:36:50 +0000 Original-Received: from localhost ([127.0.0.1]:40948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEeht-00011O-TY for submit@debbugs.gnu.org; Sat, 27 May 2017 12:36:50 -0400 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:36418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEehr-00011B-Qs for 26973@debbugs.gnu.org; Sat, 27 May 2017 12:36:48 -0400 X-Virus-Scanned: by Amavisd-new + Sophos + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-Received: from localhost (ip4d15f871.dynamic.kabel-deutschland.de [77.21.248.113]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id DCB68179B598; Sat, 27 May 2017 18:36:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1495903001; bh=BvcPVspoSi4btsY9jVlH/7WassU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=BSW58xlP5KksH4zkjeO/5Ke9+zhb8za/2kgutAdW4txPq2ozO+RTylBvzkyS23/e6 2sm/o/6ZeVuU6SiTOq125WMBeaGBqnEJPuVNKl0my31/sQD8PAIdNFDQxZqMr97DGx tD9aERIcTa+i824/6KLOFV7P36PLbYMz7nEt+7Qg= In-Reply-To: <52366f47-5bf1-8eaa-f605-44d0def010aa@cs.ucla.edu> (Paul Eggert's message of "Fri, 26 May 2017 11:06:38 -0700") 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" Xref: news.gmane.org gmane.emacs.bugs:132928 Archived-At: I think your patches are against an older revision. Paul Eggert writes: > [...] a later call to inotify-add-watch that lacks IN_OPEN will > disable an already-existing watch that specifies IN_OPEN, right? [...] I don't think so. It means that no one can watch for open/close/access events, because the flags from the caller are ignored when invoking the library function (except for IN_DONT_FOLLOW, which in my understanding does not change the underlying watch). > [...] The second patch restores onlydir (it appears to have been > removed by mistake). See above, I guess. > The third patch uses IN_MASK_ADD instead of a promiscuous mask. We could do that. -ap