all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Dima Kogan <dima@secretsauce.net>
Cc: 18958-done@debbugs.gnu.org
Subject: bug#18958: 25.0.50; auto-revert-mode reacts slowly even if using an event-driven backend
Date: Sun, 22 Feb 2015 10:53:03 +0100	[thread overview]
Message-ID: <87fv9ygtmo.fsf@gmx.de> (raw)
In-Reply-To: <87fv9yansn.fsf@secretsauce.net> (Dima Kogan's message of "Sat, 21 Feb 2015 14:38:24 -0800")

Dima Kogan <dima@secretsauce.net> writes:

> Hi. I just tested auto-revert-mode with gfilenotify, and it does appear
> to work. Thank you very much for merging those patches!

I'm marking this bug as closed.

> In a perfect world, this 1-second delay would be removed upstream, and
> we'd use gfilenotify for everything. In the meantime, is gfilenotify
> better in any way on Linux? If the notifications are unavailable for
> some reason (network-mounted file for instance), then emacs simply
> decays to the normal polled notifications, right?

You mean auto-revert, right? And yes, if `file-notify-add-watch' doesn't
return a proper watch descriptor, auto-revert falls back to its polling
mode.

glib is said to use also polling for file systems where you don't have
native file notification support. This would make it superior to inotify
for mounted filesystems, and alike.

Best regards, Michael.





  reply	other threads:[~2015-02-22  9:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05 19:01 bug#18958: 25.0.50; auto-revert-mode reacts slowly even if using an event-driven backend Dima Kogan
2014-11-07 20:01 ` Stefan Monnier
2015-02-19 20:41 ` Michael Albinus
2015-02-20  9:59   ` Dima Kogan
2015-02-20 10:25     ` Michael Albinus
2015-02-21  3:38     ` Dima Kogan
2015-02-21  9:57       ` Michael Albinus
2015-02-21 11:39         ` Eli Zaretskii
2015-02-21 12:43           ` Michael Albinus
2015-02-28 15:31             ` Eli Zaretskii
2015-02-21 22:38         ` Dima Kogan
2015-02-22  9:53           ` Michael Albinus [this message]
2015-02-22 15:57             ` Eli Zaretskii
2015-02-23  3:47             ` Dima Kogan
2015-02-23 16:05               ` Michael Albinus
2015-02-23 19:51                 ` Dima Kogan
2015-02-24  8:42                   ` 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=87fv9ygtmo.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=18958-done@debbugs.gnu.org \
    --cc=dima@secretsauce.net \
    /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.