unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Leo Liu <sdl.web@gmail.com>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: file watch feature missing on darwin
Date: Mon, 30 Dec 2013 16:30:52 +0100	[thread overview]
Message-ID: <5F01B759-6927-4029-835F-9FFB4CD6313B@swipnet.se> (raw)
In-Reply-To: <87mwjigyox.fsf@gmx.de>

Hello.

30 dec 2013 kl. 16:12 skrev Michael Albinus <michael.albinus@gmx.de>:

> Jan Djärv <jan.h.d@swipnet.se> writes:
> 
>> Hello.
> 
> Hi,
> 
>>> According to the Changelogs, kqueue has been added as native library to
>>> GIO a year a go. If you have linked Emacs to a recent (*) glib on your
>>> Darwin system, file monitoring shall be available for you.
>> 
>> It would not work if linking in Glib to a NS build due to differences
>> in event loops.
> 
> Well, I didn't know that. So we need a native kqueue integration into Emacs.

On OSX you can also use GCD.  But kqueue is not integrated into the event loop either, so it would require additional code anyway.  Possibly by dispatching another thread.  I guess this is required for any BSD system.

> 
> On a related topic, I plan to write an alternative to dbusbind.c. That
> alternative shall use gdbus instead of libdbus. But this would mean that
> this alternatvive D-Bus bindings couldn't be used for NS builds. Sad.

AFAIK, using Glib and NS just means calling xg_select instead of pselect in one place.  It is not done, because there has been no need for it.  GLib and DBus is not much used for native OSX apps (if at all).  GNUStep would be another matter.

	Jan D.




  reply	other threads:[~2013-12-30 15:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30  1:45 file watch feature missing on darwin Leo Liu
2013-12-30  9:08 ` Michael Albinus
2013-12-30 14:44   ` Jan Djärv
2013-12-30 15:12     ` Michael Albinus
2013-12-30 15:30       ` Jan Djärv [this message]
2013-12-30 16:56         ` Michael Albinus
2014-01-17 12:10           ` Michael Albinus
2014-01-22  9:00             ` Jan D.
2014-01-22  9:56               ` Michael Albinus
2013-12-31  0:22         ` Leo Liu
2013-12-31 11:37       ` Rüdiger Sonderfeld

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=5F01B759-6927-4029-835F-9FFB4CD6313B@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=sdl.web@gmail.com \
    /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).