unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
Cc: emacs-devel@gnu.org, "Almer S. Tigelaar" <almer@gnome.org>
Subject: Re: [almer@gnome.org: Zone]
Date: 13 Jun 2002 21:52:41 +0100	[thread overview]
Message-ID: <m2ofeelx46.fsf@nyaumo.btinternet.com> (raw)
In-Reply-To: <m2hek75849.fsf@nyaumo.btinternet.com>

Jason Rumney <jasonr@gnu.org> writes:

> zone-when-idle 180 does indeed give a delay of around 18 seconds.
> But zone-when-idle 20 gives a delay of 20 seconds, so it is not as
> simple as a multiple of 10 out. I get the same results on GNU/Linux,
> so it is probably a bug in zone rather than a low level timer bug
> specific to Windows.

In fact, what I saw was the somewhat surprising behaviour that after
running (zone-when-idle 20), (zone-when-idle 180) does not change the
idle period to 180 seconds, but leaves it as 20 seconds.  On both
platforms, calling zone-leave-me-alone before (zone-when-idle 180)
results in the expected behaviour.

> "Almer S. Tigelaar" <almer@gnome.org> writes:

> > I noticed an error in the "zone" package, it seems that the argument to
> > "zone-when-idle" is not in seconds but in 1/10ths of a second.
> > Reproduction:
> > try "M-x zone-when-idle 180"
> > Sit back and don't touch anything, notice that it zones out after 18
> > seconds, not 180 as the documentation suggests.
> > Remarks:
> > The "run-with-idle-timer" function does not exhibit this malfunction which
> > suggests that the problem lies within the zone package itself.

      reply	other threads:[~2002-06-13 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12 23:47 [almer@gnome.org: Zone] Richard Stallman
2002-06-13 18:47 ` Jason Rumney
2002-06-13 20:52   ` Jason Rumney [this message]

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=m2ofeelx46.fsf@nyaumo.btinternet.com \
    --to=jasonr@gnu.org \
    --cc=almer@gnome.org \
    --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 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).