From: Kaushal <kaushal.modi@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 20441@debbugs.gnu.org
Subject: bug#20441: 24.5; Auto revert mode does not work
Date: Fri, 01 May 2015 14:11:22 +0000 [thread overview]
Message-ID: <CAFyQvY1CBFcGn2ZGJjZ+pGMU-gN4gdxxi+HExsvUmGudqBp1FA@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY0+=mR-bLTQeXCmsGbfQ7JGbSn_DHEefykc3GnPe1_r6w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2526 bytes --]
It got fixed but I can't explain why this fixed it.
I usually work on a headless machine, and am always working on a VNC server.
I randomly just killed the existing server and started a new one on the
same machine (nothing rebuilt since that last email) and now gfilenotify
started working again!
On Wed, Apr 29, 2015 at 8:39 PM Kaushal <kaushal.modi@gmail.com> wrote:
> 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@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@gmx.de>
>> wrote:
>>
>>> Kaushal <kaushal.modi@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.
>>>
>>
[-- Attachment #2: Type: text/html, Size: 3741 bytes --]
next prev parent reply other threads:[~2015-05-01 14:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 18:18 bug#20441: 24.5; Auto revert mode does not work Kaushal
2015-04-27 20:48 ` Kaushal
2015-04-27 21:01 ` Kaushal
2015-04-29 19:26 ` Michael Albinus
2015-04-29 19:47 ` Kaushal
2015-04-29 20:54 ` Kaushal
2015-04-29 21:43 ` Michael Albinus
2015-04-30 0:08 ` Kaushal
2015-04-30 0:39 ` Kaushal
2015-05-01 14:11 ` Kaushal [this message]
2015-05-01 16:33 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFyQvY1CBFcGn2ZGJjZ+pGMU-gN4gdxxi+HExsvUmGudqBp1FA@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=20441@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).