From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35418: [PATCH] Don't poll auto-revert files that use notification Date: Tue, 30 Apr 2019 18:14:29 +0300 Message-ID: <83o94nsey2.fsf@gnu.org> References: <83sgu71b91.fsf@gnu.org> <74CB5185-5DA1-4786-BD9C-9EEB3D43B3C1@acm.org> <83o94uz9h2.fsf@gnu.org> <875zqzssql.fsf@gmx.de> <87bm0pqnvl.fsf@gmx.de> <093C7A57-E3EA-446D-B283-07328850094A@acm.org> <87ef5lxaji.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="180099"; mail-complaints-to="usenet@blaine.gmane.org" Cc: michael.albinus@gmx.de, 35418@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 30 17:15:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLUTN-000keP-Ts for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 17:15:10 +0200 Original-Received: from localhost ([127.0.0.1]:48509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUTM-00027k-Sn for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 11:15:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUTH-00027c-Jo for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:15:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLUTG-0002Dz-Nc for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLUTG-0002Dq-Kp for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLUTG-0001Xu-7V for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35418-submit@debbugs.gnu.org id=B35418.15566372855905 (code B ref 35418); Tue, 30 Apr 2019 15:15:02 +0000 Original-Received: (at 35418) by debbugs.gnu.org; 30 Apr 2019 15:14:45 +0000 Original-Received: from localhost ([127.0.0.1]:42109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLUSz-0001XB-HU for submit@debbugs.gnu.org; Tue, 30 Apr 2019 11:14:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLUSw-0001Ww-Bl for 35418@debbugs.gnu.org; Tue, 30 Apr 2019 11:14:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUSr-00026e-35; Tue, 30 Apr 2019 11:14:37 -0400 Original-Received: from [176.228.60.248] (port=3531 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hLUSq-0005ZH-En; Tue, 30 Apr 2019 11:14:36 -0400 In-reply-to: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Mon, 29 Apr 2019 20:58:15 +0200) 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: 209.51.188.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:158499 Archived-At: > From: Mattias EngdegÄrd > Date: Mon, 29 Apr 2019 20:58:15 +0200 > Cc: Eli Zaretskii , 35418@debbugs.gnu.org > > A file has three hard links, /dir1/a, /dir1/b and /dir2/c. Then: > > - A watch set on /dir1/a will report changes made to the file via any of the three links (kqueue, inotify). > - A watch set on /dir1 will report changes made to the file via /dir1/a and /dir1/b, but not /dir2/c (inotify). Just FTR, w32notify reports changes made through any of the 3 links when it watches dir1. This is consistent with MS documentation, which says that changing the file's data are reflected to all the hard links immediately.