all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Thu, 30 Apr 2015 00:39:47 +0000	[thread overview]
Message-ID: <CAFyQvY0+=mR-bLTQeXCmsGbfQ7JGbSn_DHEefykc3GnPe1_r6w@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY2AZFmzTK=8HPCn4vm2wJg=DT_bMADz4i7i2v4DGuu_xQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

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: 3085 bytes --]

  reply	other threads:[~2015-04-30  0:39 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 [this message]
2015-05-01 14:11                 ` Kaushal
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY0+=mR-bLTQeXCmsGbfQ7JGbSn_DHEefykc3GnPe1_r6w@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.