From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications Date: Sun, 07 Feb 2016 21:40:56 +0200 Message-ID: <83wpqgqpfb.fsf@gnu.org> References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> <8360y3uslk.fsf@gnu.org> <87pow8s71f.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454874142 14366 80.91.229.3 (7 Feb 2016 19:42:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 19:42:22 +0000 (UTC) Cc: 22557@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 20:42:10 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 1aSVDl-0006m9-Rw for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 20:42:10 +0100 Original-Received: from localhost ([::1]:37562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSVDl-0006JE-4y for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 14:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSVDh-0006J6-Kb for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 14:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSVDe-0003jk-EC for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 14:42:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSVDe-0003jg-BG for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 14:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSVDe-0006Qh-6a for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 14:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Feb 2016 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22557 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22557-submit@debbugs.gnu.org id=B22557.145487408524673 (code B ref 22557); Sun, 07 Feb 2016 19:42:02 +0000 Original-Received: (at 22557) by debbugs.gnu.org; 7 Feb 2016 19:41:25 +0000 Original-Received: from localhost ([127.0.0.1]:37507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVD3-0006Pt-Bn for submit@debbugs.gnu.org; Sun, 07 Feb 2016 14:41:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47576) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVD1-0006Ph-UY for 22557@debbugs.gnu.org; Sun, 07 Feb 2016 14:41:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSVCt-0003by-Nm for 22557@debbugs.gnu.org; Sun, 07 Feb 2016 14:41:18 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSVCt-0003bu-KJ; Sun, 07 Feb 2016 14:41:15 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4547 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSVCs-0000u3-Rj; Sun, 07 Feb 2016 14:41:15 -0500 In-reply-to: <87pow8s71f.fsf@gmx.de> (message from Michael Albinus on Sun, 07 Feb 2016 19:35:08 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:112650 Archived-At: > From: Michael Albinus > Cc: 22557@debbugs.gnu.org > Date: Sun, 07 Feb 2016 19:35:08 +0100 > > Eli Zaretskii writes: > > > I don't think the problem is in autorevert.el. The problem is in > > filenotify.el, which is where 'stopped' is generated. Filenotify does > > know what it watches. > > I've committed a patch to the emacs-25 branch, which shall fix > this. It does, thanks. > There is also a new test file-notify-test07-backup for this > problems. W/o the fix in filenotify.el, this test failed. Now it > succeeds for me. It fails for me on w32, I need 2 changed events, not one. If this is surprising, I can investigate more.