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#20280: 25.0.50; Auto revert mode appears to be non-functional Date: Fri, 10 Apr 2015 16:45:27 +0200 Message-ID: <87r3rsoxdk.fsf@gmx.de> References: <83oamyfnho.fsf@gnu.org> <76acc087b52a5b05d6baa0c2836219d8.squirrel@mail.mordocai.net> <87zj6ixqcs.fsf@gmx.de> <87h9spy4e3.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428678199 20681 80.91.229.3 (10 Apr 2015 15:03:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2015 15:03:19 +0000 (UTC) Cc: 20280@debbugs.gnu.org To: "Christopher Carpenter" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 10 17:03:09 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 1YgaSW-0001lj-D1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 17:03:04 +0200 Original-Received: from localhost ([::1]:39801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgaSV-0004oW-Pu for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 11:03:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgaQx-0000iF-I8 for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 11:01:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgaC2-0000AX-GI for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 10:46:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgaC2-0000AN-Ct for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 10:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YgaC1-0000gw-Te for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2015 10:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Apr 2015 14:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20280 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20280-submit@debbugs.gnu.org id=B20280.14286771452629 (code B ref 20280); Fri, 10 Apr 2015 14:46:01 +0000 Original-Received: (at 20280) by debbugs.gnu.org; 10 Apr 2015 14:45:45 +0000 Original-Received: from localhost ([127.0.0.1]:52527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgaBk-0000gI-8A for submit@debbugs.gnu.org; Fri, 10 Apr 2015 10:45:44 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:55569) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgaBi-0000g0-4e for 20280@debbugs.gnu.org; Fri, 10 Apr 2015 10:45:42 -0400 Original-Received: from detlef.gmx.de ([87.146.46.100]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Mdrph-1Z3Mvt3CPt-00PbOj; Fri, 10 Apr 2015 16:45:28 +0200 In-Reply-To: (Christopher Carpenter's message of "Thu, 9 Apr 2015 22:22:56 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:Osz5UefelogVD5/GWOdYFn9a+v6CV3HaBP04wQJ3ojbWGXhg0Hs QoZyCNoLb4rcBoEWhSDp8D1ND8nhjKmfruR5av2F+cc6zBrWYsDFNprGhy7LzY8vTsWEcL7 yT7IVcCFwduQ/KIaCEUjXAaG4e9TZxGbXUMEC7r6uH2ZIGkLwsSmJWtFd7JDThLf1GXL2SG ov5Z49lPEAtZO2qW4xogg== 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:101387 Archived-At: "Christopher Carpenter" writes: > Hello again Michael, Hi Christopher, > It doesn't look like libkqueue is linked to my emacs executable to me. Yes. But glib is linked. > I ran the code you gave there, and did multiple writes to the file. The > following is the only text that appeared in *trace-output* and I believe > it appeared when I activated auto-revert, not when I wrote to the file. > > ====================================================================== > 1 -> (file-notify-add-watch "/Users/ccarpenter/test.txt" (change > attribute-chan\ > ge) auto-revert-notify-handler) > | 2 -> (file-notify--descriptor 1080241180 "test.txt") > | 2 <- file-notify--descriptor: 1080241180 > 1 <- file-notify-add-watch: 1080241180 > > From my amateur view it looks like we are not getting any notifications. Yes. > Does that help any? Yes. When glib is not linked with a native file notification library like inotify or kqueue, it should poll in order to find file changes. It doesn't seem to do that in your case. I will dig deeper into this, trying to find out what makes glib to refuse to poll. Maybe we have an error bringing glib into the main loop, or there is something we miss to configure for glib, or it is simply a glib error. It might take some days, until I'll be back. > Christopher Carpenter Best regards, Michael.