From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#18958: 25.0.50; auto-revert-mode reacts slowly even if using an event-driven backend Date: Sat, 21 Feb 2015 13:43:37 +0100 Message-ID: <87twyfh1ty.fsf@gmx.de> References: <878ujpcw07.fsf@secretsauce.net> <871tll63de.fsf@gmx.de> <87lhjsaoje.fsf@secretsauce.net> <87k2zc9bda.fsf@secretsauce.net> <87k2zbvb7q.fsf@gmx.de> <83mw47cx48.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424522662 25265 80.91.229.3 (21 Feb 2015 12:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2015 12:44:22 +0000 (UTC) Cc: 18958@debbugs.gnu.org, dima@secretsauce.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 13:44:10 2015 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 1YP9Pl-0002m2-RW for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2015 13:44:09 +0100 Original-Received: from localhost ([::1]:35840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YP9Pl-0004kN-97 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2015 07:44:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YP9Ph-0004kF-Rh for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 07:44:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YP9Pe-00044u-MY for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 07:44:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YP9Pe-00044n-K2 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 07:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YP9Pe-0005BD-6S for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 07:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Feb 2015 12:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18958-submit@debbugs.gnu.org id=B18958.142452262619880 (code B ref 18958); Sat, 21 Feb 2015 12:44:02 +0000 Original-Received: (at 18958) by debbugs.gnu.org; 21 Feb 2015 12:43:46 +0000 Original-Received: from localhost ([127.0.0.1]:49902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YP9PO-0005AZ-6P for submit@debbugs.gnu.org; Sat, 21 Feb 2015 07:43:46 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:62506) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YP9PL-0005AP-RP for 18958@debbugs.gnu.org; Sat, 21 Feb 2015 07:43:44 -0500 Original-Received: from detlef.gmx.de ([79.195.9.157]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MVvi4-1Y0p501M0e-00X5Ye; Sat, 21 Feb 2015 13:43:38 +0100 In-Reply-To: <83mw47cx48.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Feb 2015 13:39:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:gqoPUdbMbv5gVTW7PrM1ihLYS6elo0hM0JHKEjE7Y1Efgphq4ra /+zscgiOWiPJ0HoUyv9+tv/IhOjf6EBriR5JTcKJva9pT9drJBcfo8/V1s9Oit6n4icw6BG oiC7JJ2rEVw4+wZT9nh8GbEf8YNZRbQnWz2lOwYr9N4VHCVeawHgdzjHxazNUR1iQuZnLny 5bH3hso/8llSw8z7MJWRw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:99674 Archived-At: Eli Zaretskii writes: >> Per default, I have enabled gfilenotify as notification library; it >> works also w/o problems. Of course, I cannot speak for w32notify, maybe >> somebody can run a short test. > > If you can tell me what test to run, I can try doing that. I fear we have no ert test case yet, it is a matter of timing. Maybe I write something next days, or somebody else has a got idea how to do. Test: Open a file in Emacs, and enable auto-revert-mode or auto-revert-tail-mode. Change it outside Emacs. The reverted file shall be shown immediately in Emacs. Since it is not obvious whether the reversion was triggered by the notification event directly, or by the auto-revert-buffers call every auto-revert-interval seconds, you might run the test several times. Note, that a direct revert triggered by the notification event happens only once every auto-revert-interval period, in order to defend against fast series of notification events. Another test I would also like to see on w32 is for the change I've committed some few minutes ago: auto-revert of dired buffers. Call auto-revert-mode on a dired buffer, and create/delete a file in the respective directory outside Emacs. The dired buffer shall be reverted immediately as well. > Thanks. Thanks, Michael.