From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan 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 14:38:24 -0800 Message-ID: <87fv9yansn.fsf@secretsauce.net> References: <878ujpcw07.fsf@secretsauce.net> <871tll63de.fsf@gmx.de> <87lhjsaoje.fsf@secretsauce.net> <87k2zc9bda.fsf@secretsauce.net> <87k2zbvb7q.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424558663 24251 80.91.229.3 (21 Feb 2015 22:44:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2015 22:44:23 +0000 (UTC) Cc: 18958@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 23:44:12 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 1YPImR-0007ud-JV for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2015 23:44:11 +0100 Original-Received: from localhost ([::1]:37705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPImR-0001sa-12 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2015 17:44:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPImM-0001rS-UO for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 17:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPImJ-0000sm-IJ for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 17:44:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPImJ-0000sg-0W for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 17:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YPImI-0003AD-3D for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 17:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Feb 2015 22: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.142455861012113 (code B ref 18958); Sat, 21 Feb 2015 22:44:02 +0000 Original-Received: (at 18958) by debbugs.gnu.org; 21 Feb 2015 22:43:30 +0000 Original-Received: from localhost ([127.0.0.1]:50428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPIll-00039G-2Z for submit@debbugs.gnu.org; Sat, 21 Feb 2015 17:43:29 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57794) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPIlh-000396-SD for 18958@debbugs.gnu.org; Sat, 21 Feb 2015 17:43:27 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id ED2E2209BE for <18958@debbugs.gnu.org>; Sat, 21 Feb 2015 17:43:22 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 21 Feb 2015 17:43:23 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=x-sasl-enc:references:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-type; s=mesmtp; bh=Hb9+mIVM9eYm 4NhoamRW4JrGg5I=; b=Lns1nZkE/hjG6qdNLDlL6dMXOBi003NLICE2a7phNeB6 d52N1FuZvzC0hfFMgv9NBbNDyXcLKmB5O2vZtrFXT3GA1zUw1gEjOsUfHBXah+7Z TQjtZp0hJXR0sw9SaAdPOU2u5fQi5zqjelOIR0XWl6Hf10fGFIen75Qbfh+Ymsk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:references:from:to:cc:subject :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=Hb9+mIVM9eYm4NhoamRW4JrGg5I=; b=IsQWTQOyCdvy0OoFkJFe QewskFCNF4Oj+ziVNY9Y0nCWalbRM8IxnHAgWPq+63nH/4RkIsMOA/R/ryy5Q3QI y5fmXe5j9QOYIcRMyYTVSi8M7gT+WazHyYQsVrU+IJVwXdx/p38zV+d1XDLcWvM0 mvlyo6Oa10oc4Nns8ZkikI4= X-Sasl-enc: 4OeVLtWfP66hTkJuaJixrELdhZUY/fKj9G4G4F/Aepaw 1424558603 Original-Received: from shorty.local (unknown [8.193.40.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 28B0F6800C2; Sat, 21 Feb 2015 17:43:23 -0500 (EST) Original-Received: from ip6-localhost ([::1] helo=shorty) by shorty.local with esmtp (Exim 4.84) (envelope-from ) id 1YPIlc-0005aX-Kr; Sat, 21 Feb 2015 14:43:20 -0800 In-reply-to: <87k2zbvb7q.fsf@gmx.de> 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:99689 Archived-At: Michael Albinus writes: > Per default, I have enabled gfilenotify as notification library; it > works also w/o problems. Hi. I just tested auto-revert-mode with gfilenotify, and it does appear to work. Thank you very much for merging those patches! Where available I think it would be better for us to use inotify instead of gfilenotify, however, because glib currently has a minimum 1-second delay: https://bugzilla.gnome.org/show_bug.cgi?id=739322 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?