all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Per Starbäck" <per.starback@gmail.com>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Clarification about auto-revert-mode and inotify
Date: Wed, 22 Oct 2014 07:36:26 +0200	[thread overview]
Message-ID: <CADkQgvu7MHq7ky0ELzOrVNVMFPYXN_3AmeF_NguXZuz0pvayUA@mail.gmail.com> (raw)
In-Reply-To: <838uk8akqd.fsf@gnu.org>

>> If so, why is the default 5 seconds and not 0.01 seconds?
>
> Because there's no real reason to revert buffers more frequently than
> that.  But if you want, you can.

When I first tested auto-revert-mode I assumed it was broken since
nothing happened.
The original poster wasn't sure if the current behaviour was a bug or
not. Emacs is not
fulfilling user expectations for an auto revert mode.

No real reason? I have instead hard to think of a reason why anyone
would like a five
second delay for anything you'd use auto revert mode for. I can
imagine that someone
sometimes would like a minimum time between updates, if there's reason to
see what happens, step by step, but have much harder to think of a reason why
anyone would like such a long delay before the first update. I don't
rule out that there
might be such a reason in some rare case, but still, if not for
performance issues,
the default should clearly be "immediate" (by human standards) update.



  reply	other threads:[~2014-10-22  5:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-21  7:00 Clarification about auto-revert-mode and inotify Dima Kogan
2014-10-21 13:43 ` Stefan Monnier
2014-10-21 15:08   ` Eli Zaretskii
2014-10-21 16:28     ` Stefan Monnier
2014-10-21 17:47       ` Eli Zaretskii
2014-10-21 20:23         ` Stefan Monnier
2014-10-21 20:32           ` Eli Zaretskii
2014-10-21 21:32             ` Stefan Monnier
2014-10-22  2:47               ` Eli Zaretskii
2014-10-22  3:20                 ` Stefan Monnier
2014-10-22 14:47                   ` Eli Zaretskii
2014-10-22 17:09                     ` Stefan Monnier
2014-10-24  7:02                       ` Dima Kogan
2014-10-21 17:59   ` Dima Kogan
2014-10-21 18:34     ` Eli Zaretskii
2014-10-21 18:59       ` Dima Kogan
2014-10-21 19:36         ` Eli Zaretskii
2014-10-21 19:39           ` Dima Kogan
2014-10-21 20:09             ` Eli Zaretskii
2014-10-21 20:29               ` Dima Kogan
2014-10-22  2:42                 ` Eli Zaretskii
2014-10-22  5:36                   ` Per Starbäck [this message]
2014-10-22 14:51                     ` Eli Zaretskii
2014-10-22 19:08                       ` Per Starbäck
2014-10-22 19:35                         ` Eli Zaretskii
2014-10-22 10:13               ` Florian Weimer
  -- strict thread matches above, loose matches on Subject: below --
2014-10-21  6:01 Dima Kogan
2014-10-21  5:03 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=CADkQgvu7MHq7ky0ELzOrVNVMFPYXN_3AmeF_NguXZuz0pvayUA@mail.gmail.com \
    --to=per.starback@gmail.com \
    --cc=emacs-devel@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.