From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Newsgroups: gmane.emacs.bugs Subject: bug#20441: 24.5; Auto revert mode does not work Date: Thu, 30 Apr 2015 00:39:47 +0000 Message-ID: References: <87wq0u4tye.fsf@gmx.de> <87r3r2objb.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0116057432a5090514e65517 X-Trace: ger.gmane.org 1430354425 18542 80.91.229.3 (30 Apr 2015 00:40:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2015 00:40:25 +0000 (UTC) Cc: 20441@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 30 02:40:15 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 1YncWV-0007jz-59 for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 02:40:15 +0200 Original-Received: from localhost ([::1]:41529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YncWU-00079a-Jb for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2015 20:40:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YncWQ-00079U-JB for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 20:40:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YncWM-0003tS-Dz for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 20:40:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YncWM-0003rU-Az for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 20:40:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YncWL-0000Cs-GK for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 20:40:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Apr 2015 00:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20441-submit@debbugs.gnu.org id=B20441.1430354396776 (code B ref 20441); Thu, 30 Apr 2015 00:40:04 +0000 Original-Received: (at 20441) by debbugs.gnu.org; 30 Apr 2015 00:39:56 +0000 Original-Received: from localhost ([127.0.0.1]:56794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YncWB-0000CR-Gq for submit@debbugs.gnu.org; Wed, 29 Apr 2015 20:39:56 -0400 Original-Received: from mail-yh0-f42.google.com ([209.85.213.42]:34799) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YncW9-0000CE-Je for 20441@debbugs.gnu.org; Wed, 29 Apr 2015 20:39:54 -0400 Original-Received: by yhw29 with SMTP id 29so9621452yhw.1 for <20441@debbugs.gnu.org>; Wed, 29 Apr 2015 17:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=UJpF1IP0PvcndIHWkVn2B7Fi8adxAbzCX3bHEuq6kqI=; b=olru7vQz2c8/yAIDGaD8R+bY88oyWHqCp8UIr1jajbDSkHuy91TacdfTdXFbFkqNl2 fKgzigOxtct9ihbbeCIqeFdbAUdNZYLgVpslhvZe7rcUzZ92nequ06HgPJkPac47z30w LcMFPks5d7wJ36potLXXp1paFkr8WXPMnY3le39F75ypUjIPl0R4sniJ++ndirTwVEMp orZtF+KnVImWL8ERqfGuEnrcfCubm6PoMRRKbNlUJWSkWYqSzmsWcV/LOELnZbabkbyE wV7dgKAHJBaVxh28ex1et3IXiDOtqh3rwy0TCW32FbARTWcvPN4gqWI7nxQJrnaZWbkp SJ8g== X-Received: by 10.236.45.38 with SMTP id o26mr1402571yhb.161.1430354387967; Wed, 29 Apr 2015 17:39:47 -0700 (PDT) In-Reply-To: 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:102271 Archived-At: --089e0116057432a5090514e65517 Content-Type: text/plain; charset=ISO-8859-1 I just rebuilt emacs-24.4 tag from git while glib 2.40.00 is installed. But the same results; gfilenotify doesn't work this time. The last time it worked, it was the same RHEL 5.10, glib 2.40.00 and emacs 24.4. Here is the config.h (renamed) created for the 24.4 build: https://dl.dropboxusercontent.com/u/10985/config-emacs-24.4.h Is there anything else that gfilenotify depends on? Can I test something from the terminal to verify glib installation that would make gfilenotify work? Thanks! On Wed, Apr 29, 2015 at 8:08 PM Kaushal wrote: > Thanks. glib looks like the culprit. > > When filenotify used to work, I had glib 2.40.00 installed on RHEL 5.10. > > Then I upgraded to glib 2.44.00 last week (also rebuilt emacs after that) > in efforts to fix a frame issue I am still facing ( > http://emacs.stackexchange.com/q/10745/115 ). The upgrade didn't fix that > issue and it seemed that it didn't break anything so I stayed at that > version. > > But looks that that broke the gfilenotify functionality. > > Now, I did make uninstall on glib 2.44.00 and reinstalled glib 2.40.00 and > rebuilt latest emacs from master. But that did not fix the gfilenotify > issue. I don't know what else I can look into. > > Here is the requested src/config.h after reverting back to glib 2.40.00 > and rebuilding emacs from master: > https://dl.dropboxusercontent.com/u/10985/config.h > > Thanks for the help! > > On Wed, Apr 29, 2015 at 5:43 PM Michael Albinus > wrote: > >> Kaushal writes: >> >> > When I eval >> > >> > (file-notify-add-watch >> > "/tmp/foo" '(change attribute-change) 'my-notify-callback) >> > >> > I see something like >> > >> > 38390812 (#o222346034, #x249cc1c) >> > >> > in the *Messages* buffer and even the `file-notify-descriptors` hash >> > is updated. >> > >> > But the callback fn is never executed. >> >> Which Linux distribution are you using? Which glib version? >> >> What are the configure options of your Emacs build? Pls show src/config.h. >> >> Best regards, Michael. >> > --089e0116057432a5090514e65517 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I just rebuilt emacs-24.4 tag from git while glib 2.40.00 = is installed. But the same results; gfilenotify doesn't work this time.= The last time it worked, it was the same RHEL 5.10, glib 2.40.00 and emacs= 24.4. Here is the config.h (renamed) created for the 24.4 build: https://= dl.dropboxusercontent.com/u/10985/config-emacs-24.4.h

Is there anything else that gfilenotify depends on? Can I test something = from the terminal to verify glib installation that would make gfilenotify w= ork?

Thanks!=A0

On Wed, Apr 29, 2015 at 8:08 PM Kaushal <kaushal.modi@gmail.com> wrote:
Thanks. glib looks like the culprit.
When filenotify used to work, I had glib 2.40.00 installed on RHEL 5.= 10.

Then I upgraded to glib 2.44.00 last week (also rebu= ilt emacs after that) in efforts to fix a frame issue I am still facing (= =A0http://emacs.stackexchange.com/q/10745/115 ). The upgrade didn't f= ix that issue and it seemed that it didn't break anything so I stayed a= t that version.

But looks that that broke the gfil= enotify functionality.

Now, I did make uninstall o= n glib 2.44.00 and reinstalled glib 2.40.00 and rebuilt latest emacs from m= aster. But that did not fix the gfilenotify issue. I don't know what el= se I can look into.

Here is the requested src/conf= ig.h after reverting back to glib 2.40.00 and rebuilding emacs from master:= =A0https://dl.dropboxusercontent.com/u/10985/config.h
<= br>
Thanks for the help!

On Wed, Apr 29, 2015 at 5:43 PM Michael Albinus <michael.albinus@gmx.de> wrote= :
Kaushal <kaushal.modi@gmail.com> writes:

> When I eval
>
> (file-notify-add-watch
> "/tmp/foo" '(change attribute-change) 'my-notify-cal= lback)
>
> I see something like
>
> 38390812 (#o222346034, #x249cc1c)
>
> in the *Messages* buffer and even the `file-notify-descriptors` hash > is updated.
>
> But the callback fn is never executed.

Which Linux distribution are you using? Which glib version?

What are the configure options of your Emacs build? Pls show src/config.h.<= br>
Best regards, Michael.
--089e0116057432a5090514e65517--