[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: idledo.el v. 0.3
From: |
Richard Stallman |
Subject: |
Re: idledo.el v. 0.3 |
Date: |
Sat, 26 Oct 2002 16:15:34 -0400 |
Add a new function:
(timer-idle-timer-first-invocation-p TIMER)
which allows an idle-timer action to check whether this is the first
invocation of the timer after emacs becoming idle, or a repeated
activation.
Is there an actual need for this, or just a theoretical need? You
could do it easily enough by setting a flag variable when the timer
runs, and clearing it using timer-no-longer-idle-hook.
Add a new hooks:
timer-no-longer-idle-hook
[Implementation: Run from the above mentioned pre-command hook.]
This is a useful feature, but why not use pre-command-hook directly?
Re: idledo.el v. 0.3, Richard Stallman, 2002/10/25