all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21241@debbugs.gnu.org
Subject: bug#21241: 25.0.50; gfilenotify doesn't indicate when limits are reached
Date: Wed, 12 Aug 2015 15:27:26 +0200	[thread overview]
Message-ID: <87tws4k56p.fsf_-_@gnu.org> (raw)
In-Reply-To: <831tf8ptbv.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Aug 2015 15:47:00 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Well, one thing we could do was preferring plain inotify over glib's
>> GFileMonitor when both are available.  On my GNU/Linux box both are
>> available and configure chose gfilenotify as the default.
>
> I wonder if we should revert our decision to prefer gfilenotify if
> available, and instead use it only if there's no other supported
> method.  It begins to sound more and more like gfilenotify is more
> trouble than it's worth.

You mean the other emacs-devel thread where it has been reported that
gfile notifications might get delayed up to 30 seconds?  I haven't seen
that issue here but if it can happen and gfilenotify doesn't provide
some clear benefit over plain inotify, I'd suggest to use the latter by
default when it's available.

Well, at least it seems that THIS issue is considered to be a bug also
by one glib developer so chances are good that it'll be fixed
eventually.  But of course it may take some time until a fixed version
is distributed to all users and until then users will have to learn the
hard way why notifications don't work [1].

Bye,
Tassilo

[1] I've been working on magit-filenotify.el which automatically
    refreshes the magit status buffer when something in the git
    repository changes, and at some point it just didn't work anymore
    (no notifications) for repositories I've started working on later
    while it still worked for those I've had opened earlier.  Well, that
    way I've at least learned about inotify limits and how to change
    them... :-)





  reply	other threads:[~2015-08-12 13:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12  8:16 bug#21241: 25.0.50; gfilenotify doesn't indicate when limits are reached Tassilo Horn
     [not found] ` <handler.21241.B.14393674365819.ack@debbugs.gnu.org>
2015-08-12  8:34   ` Tassilo Horn
2015-08-12 12:47 ` Eli Zaretskii
2015-08-12 13:27   ` Tassilo Horn [this message]
2015-08-12 14:16     ` Eli Zaretskii
2015-08-12 19:18       ` Michael Albinus
2015-08-15  1:27 ` Paul Eggert
2015-08-18 14:33   ` Tassilo Horn
2015-08-18 17:09     ` Paul Eggert
2015-08-21  9:46 ` 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=87tws4k56p.fsf_-_@gnu.org \
    --to=tsdh@gnu.org \
    --cc=21241@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.