GNU bug report logs - #20441
24.5; Auto revert mode does not work

Previous Next

Package: emacs;

Reported by: Kaushal <kaushal.modi <at> gmail.com>

Date: Mon, 27 Apr 2015 18:19:02 UTC

Severity: normal

Tags: notabug

Found in version 24.5

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 20441 <at> debbugs.gnu.org (full text, mbox):

From: Kaushal <kaushal.modi <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20441 <at> debbugs.gnu.org
Subject: Re: bug#20441: 24.5; Auto revert mode does not work
Date: Thu, 30 Apr 2015 00:08:16 +0000
[Message part 1 (text/plain, inline)]
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 <michael.albinus <at> gmx.de>
wrote:

> Kaushal <kaushal.modi <at> gmail.com> 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.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.