From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#35418: [PATCH] Don't poll auto-revert files that use notification Date: Mon, 29 Apr 2019 22:04:06 +0200 Message-ID: <87ftq0zih5.fsf@gmx.de> 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: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="117980"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 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 Mon Apr 29 22:05:16 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 1hLCWa-000UWw-Cu for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 22:05:16 +0200 Original-Received: from localhost ([127.0.0.1]:34590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCWZ-0004HH-Da for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 16:05:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCWN-0004Gm-EP for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:05:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLCWM-0003HD-Fq for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54522) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLCWM-0003H9-Cq for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLCWM-0006h4-6w for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Apr 2019 20:05: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.155656826125652 (code B ref 35418); Mon, 29 Apr 2019 20:05:02 +0000 Original-Received: (at 35418) by debbugs.gnu.org; 29 Apr 2019 20:04:21 +0000 Original-Received: from localhost ([127.0.0.1]:39829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLCVg-0006fg-Ls for submit@debbugs.gnu.org; Mon, 29 Apr 2019 16:04:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:40551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLCVf-0006fT-Jx for 35418@debbugs.gnu.org; Mon, 29 Apr 2019 16:04:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1556568251; bh=mmG43eGLYixKMeODNrqOF1GntSuDXcheyDfrGYH1dsE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=jwaf7IYYjeIqVn/IfW3v4VZ8FA4DIrgFrZ70JTB/AzvDHmc6l6vTyWTgn0Qrh0yk3 kCsvi0YRXPtpyY+KTuLO9NXCq2+4TQKSiTpI8aMhiQTmXPw0A/DfRlamy0pWDbixAR e7xZovNd86mnm23qvheudmPbuxU+iXcobl7bq5jw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([213.220.159.69]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lqi70-1gpyUC44F0-00eKgy; Mon, 29 Apr 2019 22:04:11 +0200 In-Reply-To: ("Mattias \=\?utf-8\?Q\?Engdeg\=C3\=A5rd\=22's\?\= message of "Mon, 29 Apr 2019 20:58:15 +0200") X-Provags-ID: V03:K1:bbNVkVHs4ZLm2qqyFSS4jEZaCw7tntj2P3KZnaCxMI8ckn5/kp8 yH03VDOvMAReNHaEnZs8jYqOVhvrqmWadB+tH8Ev8CyIbAcpKOCvdGGjZpdNVblLRva3yt+ rcXcs/PCe5GuK/QxFGgd/rmhN/+scNvcdvHKgizA0kBAX2bc0FLSxfMJ/Rpl5HlYoNe4ZLT UydlQNtHE4rjwfdZHaZ/A== X-UI-Out-Filterresults: notjunk:1;V03:K0:AMC+Ogc2lhM=:ZBgm8FQZidToak+TsBSqnU d+IyOYLaUhe56h83vT5H0QVn5y0cjkbvzPRpMAEOUqSmYO95Kvylu4tgpmYx+4hyVFQX/6pyz 19sgGk6ZmGmplyeKW/QJ5/6ZxU/v8iuvzWrPImuygtXelS1idEbkPd2jkU4IT6Lql99nydMLX KHjbYgmwEMlGet0kJqsY2kPretPys7kq86O0FaYI9rovP+pXUiPYYDpehDUNUrLaiWjmA+zCq qfpfz1P6RuOGM/vN+9nNHk4dastCMrjjt5k4yFNlVW1rqxE34EbWLWjczn3TH0razswyJZme1 qeTDTNbfh6ghCL/Ku2t1P3MOBFbSGJZanCtCvd/KmkPv+xo6CMcCNu0iXS/FeuAZJ6CDoCjzW 7He0ob09rdurLHTHdlVfgph/ypM5SJadR+tHKtJRqixRjKP6rIV6pJjnma4bXeEJM72OvGlod VvKuD3neDtZBBTwRpSIOzY0oD11GOE08RA3Dera5Vf2EZrTFcTmGW1BtNIdqhmz46wKyJoCg8 zAPIOGOecD8tjaY6nI13R4JN+rLtmpxP0NfVym+SpvEVQ2Q1B8NHlVHmqhkqDKF7rJ4kPyCo+ IvtgctxAJdSPsfPrP/v54Kbscfdcc3YEpBAhzbDPLaVJm/rZ8vGMQ/gVWpOb5I3nyWwiD8Vt3 MMnFeKGYsUTiAYonvBbKehS2qsfanV+79DREZ5CwEqhvDaPSnACbmk0az5bI+/jk8EvfFOd23 pNAM3lBODs68mL1YRy+hvhb6QHUdRL5NKxRJ/vKEMKUpkEqKIbhIrSeEtZ8ac6I6WtD+GQJJ 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:158450 Archived-At: Mattias Engdeg=C3=A5rd writes: > We could work around the problem by setting watches on files directly > with inotify, but it's not worth the trouble or the other drawbacks > (as mentioned earlier) for such an uncommon case. If you go back in history (for years), you will find in the archives that we have tried different policies. None of them is perfect, so unless we see serious problems, I propose to keep the things as they are. >> As Tramp maintainer, I always set `auto-revert-remote-files' to t :-) >> So I care. > > Right, so I suppose a user like you would either: > > (a) not set `auto-revert-always-poll' to nil > (b) trust remote file notification to work well enough, and if it > fails, it's not a disaster (no data lost) > (c) add a pattern to `auto-revert-notify-exclude-dir-regexp' to > disable particularly unreliable notifications > > which sounds acceptable. Don't know what other people do, but I'll take (a). Since I have written remote file notifications myself, likely I'm the one who has the least trust for (b) :-) (c) could help, yes. Best regards, Michael.