From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#21241: 25.0.50; gfilenotify doesn't indicate when limits are reached Date: Wed, 12 Aug 2015 15:27:26 +0200 Message-ID: <87tws4k56p.fsf_-_@gnu.org> References: <878u9gly4p.fsf@gnu.org> <831tf8ptbv.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439386109 30429 80.91.229.3 (12 Aug 2015 13:28:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2015 13:28:29 +0000 (UTC) Cc: 21241@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 15:28: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 1ZPW4h-0000k4-8I for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2015 15:28:11 +0200 Original-Received: from localhost ([::1]:38575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPW4g-0006Qc-LB for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2015 09:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPW4c-0006QU-QX for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 09:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPW4Z-0004mc-C3 for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 09:28:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPW4Z-0004lg-7W for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 09:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZPW4Y-0003GU-IW for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 09:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2015 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21241-submit@debbugs.gnu.org id=B21241.143938605712517 (code B ref 21241); Wed, 12 Aug 2015 13:28:02 +0000 Original-Received: (at 21241) by debbugs.gnu.org; 12 Aug 2015 13:27:37 +0000 Original-Received: from localhost ([127.0.0.1]:53946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPW47-0003Fo-Me for submit@debbugs.gnu.org; Wed, 12 Aug 2015 09:27:36 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43673) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPW42-0003Fc-MF for 21241@debbugs.gnu.org; Wed, 12 Aug 2015 09:27:31 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3510322784 for <21241@debbugs.gnu.org>; Wed, 12 Aug 2015 09:27:30 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 12 Aug 2015 09:27:30 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=kLgpzszNYqij6CfwCOi4i6E5Mq0=; b=TvFIS kWLzNcQlheJtTwXexxq+5GfpFecJGXjOjifOr0VjsjjzhUOgtcB2JZN2XJw3BmaN EITiv2NKfIkFGkVeUlHtOJim+O8+nB+HnzTe6PBFBRnpXolSiX8qNOcHZJeqecGr 3R9h4K1QBQuElJWsK2jIM2uUeU8Lf9egV/Kxcg= X-Sasl-enc: lZu9XbPH0ignuGpeU/8Cbfkrlo99eyAzvwYUhw79BfRx 1439386049 Original-Received: from thinkpad-t440p (unknown [2.163.35.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 3F9AA6800FF; Wed, 12 Aug 2015 09:27:29 -0400 (EDT) In-Reply-To: <831tf8ptbv.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Aug 2015 15:47:00 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) 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: 208.118.235.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:105438 Archived-At: Eli Zaretskii writes: >> Well, one thing we could do was preferring plain inotify over glib's >> GFileMonitor when both are available. On my GNU/Linux box both are >> available and configure chose gfilenotify as the default. > > I wonder if we should revert our decision to prefer gfilenotify if > available, and instead use it only if there's no other supported > method. It begins to sound more and more like gfilenotify is more > trouble than it's worth. You mean the other emacs-devel thread where it has been reported that gfile notifications might get delayed up to 30 seconds? I haven't seen that issue here but if it can happen and gfilenotify doesn't provide some clear benefit over plain inotify, I'd suggest to use the latter by default when it's available. Well, at least it seems that THIS issue is considered to be a bug also by one glib developer so chances are good that it'll be fixed eventually. But of course it may take some time until a fixed version is distributed to all users and until then users will have to learn the hard way why notifications don't work [1]. Bye, Tassilo [1] I've been working on magit-filenotify.el which automatically refreshes the magit status buffer when something in the git repository changes, and at some point it just didn't work anymore (no notifications) for repositories I've started working on later while it still worked for those I've had opened earlier. Well, that way I've at least learned about inotify limits and how to change them... :-)