all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: emacs-devel@gnu.org
Cc: Dima Kogan <lists@dima.secretsauce.net>,
	Michael Albinus <michael.albinus@gmx.de>
Subject: Re: gfile-based file notifications are not immediate
Date: Tue, 28 Oct 2014 22:33:16 +0100	[thread overview]
Message-ID: <6770871.AMhgTgWFL5@descartes> (raw)
In-Reply-To: <87y4s31czw.fsf@gmx.de>

On Sunday 26 October 2014 08:55:31 Michael Albinus wrote:
> > Are there OSs where emacs supports
> > notifications ONLY through glib?
> 
> On BSD-like systems, including MacOS X, you can use only gfile these
> days from Emacs. There exist a native library kqueue which ought to
> implement file notifications, but nobody wrote an Emacs integration so
> far. And AFAIU, gfile uses internally kqueue on those systems (not
> tested by myself).

I was looking at adding kqueue support as well when I wrote the inotify 
implementation.  However, the kqueue API is so bad that it makes even the w32 
API look good in comparison.  (kqueue is probably also the reason why the 
gfile API is so limited compared to inotify.  They simply can't implement a 
lot of it on BSD.  We all have to suffer because of kqueue even if we use 
saner systems.)

Maybe on GNU/Linux the default could be set to inotify or would this break 
using gfile on remote systems via tramp?

Regards,
Rüdiger




  parent reply	other threads:[~2014-10-28 21:33 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-25 20:17 gfile-based file notifications are not immediate Dima Kogan
2014-10-26  7:55 ` Michael Albinus
2014-10-26 13:12   ` Ken Brown
2014-10-28 21:33   ` Rüdiger Sonderfeld [this message]
2014-10-29  1:06     ` Stefan Monnier
2014-10-29  2:23       ` Dima Kogan
2014-10-29  3:54         ` Stefan Monnier
2014-10-29 12:03           ` Michael Albinus
2014-10-29 13:56             ` Stefan Monnier
2014-10-29 14:11               ` Óscar Fuentes
2014-10-29 15:29                 ` Stefan Monnier
2014-10-29 16:28               ` Michael Albinus
2014-10-29 20:34                 ` Stefan Monnier
2014-10-30 15:16               ` Perry E. Metzger
2014-10-30 16:51                 ` Stefan Monnier
2014-10-30 17:10                   ` Perry E. Metzger
2014-10-30 17:40                     ` Michael Albinus
2014-10-30 18:04                       ` Perry E. Metzger
2014-10-30 18:06                       ` Stefan Monnier
2014-10-30 18:11                         ` Michael Albinus
2014-10-30 19:21                           ` Perry E. Metzger
2014-10-30 19:39                             ` Dima Kogan
2014-10-30 19:27                           ` Stefan Monnier
2014-10-29 14:00             ` Wolfgang Jenkner
2014-10-30 19:12               ` Wolfgang Jenkner
2014-10-30 20:32               ` Rüdiger Sonderfeld
2014-10-31 21:28                 ` Perry E. Metzger
2014-11-02 14:15                   ` Noam Postavsky
2014-11-02 15:50                     ` Perry E. Metzger
2014-10-26 16:02 ` Eli Zaretskii
2014-10-26 17:07   ` Dima Kogan
2014-10-26 17:14     ` Eli Zaretskii
2014-10-26 16:41 ` Michael Albinus
2014-10-28  0:32   ` Dima Kogan

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=6770871.AMhgTgWFL5@descartes \
    --to=ruediger@c-plusplus.de \
    --cc=emacs-devel@gnu.org \
    --cc=lists@dima.secretsauce.net \
    --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.