GNU bug report logs -
#20441
24.5; Auto revert mode does not work
Previous Next
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 #31 received at 20441 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <kaushal.modi <at> 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 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.