From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled Date: Sun, 28 May 2017 11:21:33 -0700 Organization: UCLA Computer Science Department Message-ID: <7fb38478-8248-da1f-d2b5-0c209563fb45@cs.ucla.edu> References: <52366f47-5bf1-8eaa-f605-44d0def010aa@cs.ucla.edu> <87tw46w92f.fsf@luca> <1846cfcb-1897-e3d8-76fe-83be1c076c75@cs.ucla.edu> <87poeuvw9n.fsf@luca> <032db8d0-2694-4d02-2b5f-3b73508fee0a@cs.ucla.edu> <87lgpivua1.fsf@luca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495995732 4273 195.159.176.226 (28 May 2017 18:22:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 May 2017 18:22:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: 26973-done@debbugs.gnu.org, Michael Albinus , Dmitry Gutov To: Andreas Politz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 28 20:22: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 1dF2pL-00010B-Du for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 May 2017 20:22:07 +0200 Original-Received: from localhost ([::1]:44867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dF2pQ-0003cb-Uy for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 May 2017 14:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dF2pK-0003bF-Bh for bug-gnu-emacs@gnu.org; Sun, 28 May 2017 14:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dF2pG-0003Za-AH for bug-gnu-emacs@gnu.org; Sun, 28 May 2017 14:22:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dF2pG-0003ZW-7A for bug-gnu-emacs@gnu.org; Sun, 28 May 2017 14:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dF2pF-0004iy-Uo for bug-gnu-emacs@gnu.org; Sun, 28 May 2017 14:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 May 2017 18:22: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.149599570218135 (code D ref 26973); Sun, 28 May 2017 18:22:01 +0000 Original-Received: (at 26973-done) by debbugs.gnu.org; 28 May 2017 18:21:42 +0000 Original-Received: from localhost ([127.0.0.1]:41977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dF2ow-0004iR-8m for submit@debbugs.gnu.org; Sun, 28 May 2017 14:21:42 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dF2ov-0004iE-0u for 26973-done@debbugs.gnu.org; Sun, 28 May 2017 14:21:41 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 12E871600A7; Sun, 28 May 2017 11:21:35 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 17mwxcnpSjPF; Sun, 28 May 2017 11:21:34 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5B3AE1600C7; Sun, 28 May 2017 11:21:34 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JynptxRRmu0s; Sun, 28 May 2017 11:21:34 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 0EF551600A7; Sun, 28 May 2017 11:21:34 -0700 (PDT) In-Reply-To: <87lgpivua1.fsf@luca> Content-Language: en-US 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:132962 Archived-At: Andreas Politz wrote: > For that I used the posted function, added a watch to the /tmp director= y > and noticed that the problematic behavior occured, if any one of those > flags (open/close/access) were added. I couldn't reproduce the problem with the current master (commit 288b3ca)= . That=20 is, I ran src/emacs -Q with this: M-x load-file RET sfp-test.el RET M-x global-auto-revert-mode RET M-x start-file-process-test RET (inotify-add-watch "/tmp" 'open (lambda (event) (message "event %s" event= ))) C-x C-e M-x start-file-process-test RET Both instances of start-file-process-test did "process done!" before "sle= eping=20 done!", which I gather is what is wanted.