[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nested sit-for's
From: |
Richard Stallman |
Subject: |
Re: Nested sit-for's |
Date: |
Tue, 22 Aug 2006 03:42:27 -0400 |
I think we could clean up the code even more by extending
run-with-idle-timer as follows:
(run-with-idle-timer SECS REPEAT FUNCTION &rest ARGS)
Perform an action the next time Emacs is idle for SECS seconds.
The action is to call function with arguments ARGS.
SECS may be an integer or a floating point number.
If REPEAT is non-nil, do the action each time Emacs has been idle for
exactly SECS seconds (that is, only once for each time Emacs becomes
idle).
Additionally, if REPEAT is a number, repeat the action every REPEAT
seconds as long as Emacs stays idle.
That feature could be useful for some cases, but unconditional
repetition isn't quite what we want for the jit-lock case.
So let's not add it now.
- Re: Nested sit-for's, (continued)
- Re: Nested sit-for's, Kim F. Storm, 2006/08/18
- Re: Nested sit-for's, Chong Yidong, 2006/08/20
- Re: Nested sit-for's, Kim F. Storm, 2006/08/20
- Re: Nested sit-for's, martin rudalics, 2006/08/20
- Re: Nested sit-for's, Kim F. Storm, 2006/08/20
- Re: Nested sit-for's, Richard Stallman, 2006/08/21
- Re: Nested sit-for's, Kim F. Storm, 2006/08/21
- Re: Nested sit-for's, Stefan Monnier, 2006/08/21
- Re: Nested sit-for's, martin rudalics, 2006/08/21
- Re: Nested sit-for's, Stefan Monnier, 2006/08/21
- Re: Nested sit-for's,
Richard Stallman <=
Re: Nested sit-for's, Chong Yidong, 2006/08/17
RE: Nested sit-for's, Drew Adams, 2006/08/17