bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20280: 25.0.50; Auto revert mode appears to be non-functional


From: Michael Albinus
Subject: bug#20280: 25.0.50; Auto revert mode appears to be non-functional
Date: Sun, 19 Apr 2015 16:28:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> I will dig deeper into this, trying to find out what makes glib to
> refuse to poll. Maybe we have an error bringing glib into the main loop,
> or there is something we miss to configure for glib, or it is simply a
> glib error.

glib's main loop integration in Emacs is implemented by xg_select, a
replacement for pselect in case glib is linked to Emacs. However, in
file process.c:4915, we have the code

--8<---------------cut here---------------start------------->8---
#if defined (HAVE_NS)
          nfds = ns_select
#elif defined (HAVE_GLIB)
          nfds = xg_select
#else
          nfds = pselect
#endif
            (max (max_process_desc, max_input_desc) + 1,
             &Available,
             (check_write ? &Writeok : 0),
             NULL, &timeout, NULL);
--8<---------------cut here---------------end--------------->8---

That means, that in your case on OS X ns_select is called, instead of
xg_select.

I have no idea how to solve this properly.

>> Christopher Carpenter

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]