From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#35418: [PATCH] Don't poll auto-revert files that use notification Date: Sat, 27 Apr 2019 18:28:38 +0200 Message-ID: <9882A29F-6830-4C7B-918D-DADC4DA62972@acm.org> References: <83sgu71b91.fsf@gnu.org> <87sgu79owh.fsf@gmx.de> <987B61DE-48D3-4618-8F0C-E53B794C6D71@acm.org> <871s1nss54.fsf@gmx.de> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="1626"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35418@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 27 18:37:48 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 1hKQKh-0000Jy-IC for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Apr 2019 18:37:47 +0200 Original-Received: from localhost ([127.0.0.1]:34037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQKg-000189-BL for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Apr 2019 12:37:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQKR-00017k-Ll for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:37:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQCE-0001MI-3J for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKQCD-0001LX-Vu for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hKQCD-0007Vu-Rj for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2019 16:29:01 +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.155638252528857 (code B ref 35418); Sat, 27 Apr 2019 16:29:01 +0000 Original-Received: (at 35418) by debbugs.gnu.org; 27 Apr 2019 16:28:45 +0000 Original-Received: from localhost ([127.0.0.1]:35850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQBw-0007VN-Ks for submit@debbugs.gnu.org; Sat, 27 Apr 2019 12:28:44 -0400 Original-Received: from mail80c50.megamailservers.eu ([91.136.10.90]:38768 helo=mail70c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQBu-0007VC-7X for 35418@debbugs.gnu.org; Sat, 27 Apr 2019 12:28:43 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1556382520; bh=w5qCvqVf330FQ7ZFWS1h7za1XEA33ER86jHm/2xgeKA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=NBNZRhLgliQHA5AwO9x4R7fQ05ZPI2yudo1uVVsbN25CHiljI1FEBBjzYLD8ABWEG POtDWSVaCwd1BCOYxACsLzl2IpFqK9PM/gHwSTsQRTSs2UFAR890/E7Gr7wllwoQ7u 7fp6LSwE+88tC7tdu3Vklap/BTmjecOJ/sSwHbnY= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.1.64] (c-e636e253.032-75-73746f71.bbcust.telenor.se [83.226.54.230]) (authenticated bits=0) by mail70c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x3RGScom024639; Sat, 27 Apr 2019 16:28:39 +0000 In-Reply-To: <871s1nss54.fsf@gmx.de> X-Mailer: Apple Mail (2.3445.104.8) X-CTCH-RefID: str=0001.0A0B0211.5CC48338.002A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=XdenMrx5 c=1 sm=1 tr=0 a=M+GU/qJco4WXjv8D6jB2IA==:117 a=M+GU/qJco4WXjv8D6jB2IA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=QOgP5k3nHiY4v3ZJHWgA:9 a=CjuIK1q_8ugA:10 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:158361 Archived-At: 27 apr. 2019 kl. 11.40 skrev Michael Albinus : >=20 >> By 'work', do you mean receiving notification about changes made by >> the same machine or another machine? As far as I know, the NFS >> protocol has no means of propagating notifications, in contrast to >> SMB. >=20 > It fires notifications for changes made by the same machine: [...] > If I make a modification on the remote machine, nothing happens: Thank you for confirming that. The current state of remote notifications = on Linux seems to be: - could possibly be added to cifs in the future - no explicit support in NFS but could possibly use NFS v4.1 directory = delegations - either requires VFS-level support - no work in progress as far as I can tell > The policy in Emacs is to set the default value to be compatible with > previous behavior. If time passes, and we see no drawback, the default > value could be changed. Usually, the next major E,acs version . A most sensible policy, although reality isn't always black or white -- = sometimes, a useful change outweighs a minor incompatibility. Thanks again, I'll prepare a new patch with a defcustom.