help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About idle timers


From: Xue Fuqiao
Subject: Re: About idle timers
Date: Thu, 4 Apr 2013 19:08:13 +0800

On Thu, 04 Apr 2013 10:07:55 +0100
phillip.lord@newcastle.ac.uk (Phillip Lord) wrote:

> Xue Fuqiao <xfq.free@gmail.com> writes:
> > In (info "(elisp) Idle Timers"):
> >   An idle timer set for 600 seconds will run when ten minutes have
> >   elapsed since the last user command was finished, even if subprocess
> >   output has been accepted thousands of times within those ten minutes,
> >   and even if there have been garbage collections and autosaves.
> > Will the idle timer run if Emacs isn't idle after 600 seconds?

> No. Emacs has to be idle for at least 600 seconds or the idle timer will
> not run. Idle timers are very useful for running things "in the
> background" that don't interrupt the user. You do have to use them
> carefully though, because once the idle timer starts to run, it will
> continue to run to completion. So, if you want to do anything
> computational intensive, you need to check constantly to see if their is
> user input pending.

Ah, I see, thank you.

-- 
Xue Fuqiao
http://www.gnu.org/software/emacs/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]