GNU bug report logs - #20280
25.0.50; Auto revert mode appears to be non-functional

Previous Next

Package: emacs;

Reported by: Christopher Carpenter <mordocai <at> mordocai.net>

Date: Wed, 8 Apr 2015 18:41:01 UTC

Severity: normal

Found in version 25.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "Christopher Carpenter" <mordocai <at> mordocai.net>
Cc: 20280 <at> debbugs.gnu.org
Subject: Re: bug#20280: 25.0.50; Auto revert mode appears to be non-functional
Date: Sun, 19 Apr 2015 16:28:55 +0200
Michael Albinus <michael.albinus <at> 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.




This bug report was last modified 9 years and 281 days ago.

Previous Next


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