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: Sun, 22 Feb 2015 10:53:03 +0100 Message-ID: <87fv9ygtmo.fsf@gmx.de> References: <878ujpcw07.fsf@secretsauce.net> <871tll63de.fsf@gmx.de> <87lhjsaoje.fsf@secretsauce.net> <87k2zc9bda.fsf@secretsauce.net> <87k2zbvb7q.fsf@gmx.de> <87fv9yansn.fsf@secretsauce.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424598862 22576 80.91.229.3 (22 Feb 2015 09:54:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2015 09:54:22 +0000 (UTC) Cc: 18958-done@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 22 10:54:13 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 1YPTEq-0007Hm-RV for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Feb 2015 10:54:12 +0100 Original-Received: from localhost ([::1]:39555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPTEq-00013P-4D for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Feb 2015 04:54:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPTEm-00011X-9z for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2015 04:54:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPTEh-0007ef-8n for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2015 04:54:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPTEh-0007eZ-5A for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2015 04:54:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YPTEg-0004pJ-Gg for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2015 04:54:02 -0500 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Feb 2015 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 18958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 18958@debbugs.gnu.org, michael.albinus@gmx.de, dima@secretsauce.net Original-Received: via spool by 18958-done@debbugs.gnu.org id=D18958.142459879418492 (code D ref 18958); Sun, 22 Feb 2015 09:54:02 +0000 Original-Received: (at 18958-done) by debbugs.gnu.org; 22 Feb 2015 09:53:14 +0000 Original-Received: from localhost ([127.0.0.1]:50501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPTDt-0004oB-RJ for submit@debbugs.gnu.org; Sun, 22 Feb 2015 04:53:14 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:63005) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPTDr-0004o2-0B for 18958-done@debbugs.gnu.org; Sun, 22 Feb 2015 04:53:11 -0500 Original-Received: from detlef.gmx.de ([79.195.3.46]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Md3li-1Y8UKn2qhO-00IFUf; Sun, 22 Feb 2015 10:53:07 +0100 In-Reply-To: <87fv9yansn.fsf@secretsauce.net> (Dima Kogan's message of "Sat, 21 Feb 2015 14:38:24 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:pamnzjDNjhrYeOjzL6ToFjdUq1DEX1WEOhceET06kw1eUza5oJ1 J8aitJWg5rQcXQnlDeJlVhFbzEzvtNr1zYSmj5ND2qWRWWn3KhsdAia5DCjSykjawiMbA8e 5J6RoX2KWuEtIq2ZnCMGl5p0f2ZCuQZ9vJUBhnwViGRFoaPkBMT+WDl1WgKkxrLZc6Mm8Ea Y88URKcgD246bgHzbMtmw== 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:99695 Archived-At: Dima Kogan writes: > Hi. I just tested auto-revert-mode with gfilenotify, and it does appear > to work. Thank you very much for merging those patches! I'm marking this bug as closed. > In a perfect world, this 1-second delay would be removed upstream, and > we'd use gfilenotify for everything. In the meantime, is gfilenotify > better in any way on Linux? If the notifications are unavailable for > some reason (network-mounted file for instance), then emacs simply > decays to the normal polled notifications, right? You mean auto-revert, right? And yes, if `file-notify-add-watch' doesn't return a proper watch descriptor, auto-revert falls back to its polling mode. glib is said to use also polling for file systems where you don't have native file notification support. This would make it superior to inotify for mounted filesystems, and alike. Best regards, Michael.