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 23:13:08 +0200 Message-ID: <87poeuvw9n.fsf@luca> References: <52366f47-5bf1-8eaa-f605-44d0def010aa@cs.ucla.edu> <87tw46w92f.fsf@luca> <1846cfcb-1897-e3d8-76fe-83be1c076c75@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495919656 27711 195.159.176.226 (27 May 2017 21:14:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 May 2017 21:14:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26973-done@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 23:14:08 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 1dEj2E-0006zG-TR for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 May 2017 23:14:07 +0200 Original-Received: from localhost ([::1]:42007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEj2K-0000u2-Dk for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 May 2017 17:14:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEj2D-0000si-Ii for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 17:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEj2A-0004ng-DY for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 17:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38430) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEj2A-0004nI-23 for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 17:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dEj29-0004MZ-O0 for bug-gnu-emacs@gnu.org; Sat, 27 May 2017 17:14:01 -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 21:14:01 +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-done@debbugs.gnu.org id=D26973.149591959816715 (code D ref 26973); Sat, 27 May 2017 21:14:01 +0000 Original-Received: (at 26973-done) by debbugs.gnu.org; 27 May 2017 21:13:18 +0000 Original-Received: from localhost ([127.0.0.1]:41107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEj1S-0004LX-Hc for submit@debbugs.gnu.org; Sat, 27 May 2017 17:13:18 -0400 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:41497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEj1Q-0004LL-5L for 26973-done@debbugs.gnu.org; Sat, 27 May 2017 17:13:16 -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 862E1179DBCA; Sat, 27 May 2017 23:13:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1495919588; bh=IPr8I5cphwtUPDV1YusBsu+/n64=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=qkKvGsbeH8y2aissyrOJC+bpnnF1wyHnpkXfAVu/8Y6evFTvSjBxLa4FKt0kqQyfW t4X1D0eijMZCQA6h4tnTWS+4fcu3JL64CSmevMPJtBR1Sq/ZWO5VsFJGZ4zJAmZQ36 PdMUSMVFzI0uV47OMOh6zONCh0gSByGenLl3xVBU= In-Reply-To: <1846cfcb-1897-e3d8-76fe-83be1c076c75@cs.ucla.edu> (Paul Eggert's message of "Sat, 27 May 2017 11:19:48 -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:132937 Archived-At: Paul Eggert writes: >>> [...] The second patch restores onlydir [...]. > Yeah, I checked the GNU/Linux source code, and it is a flag that > affects only the inotify_add_watch call itself [...] OK, I haven't been that thorough. So, I suppose the call will fail for a combination of onlydir with a non-directory filename. >>> The third patch uses IN_MASK_ADD instead of a promiscuous mask. But we still need to inhibit open/close/access events from being used by any client in order to fix this bug. (Unless someone finds a better way by looking more closely into the problem relating to processes. Though filenotify.el does not use them and so it may not be worth it.) -ap