emacs-devel
[Top][All Lists]
Advanced

[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?





reply via email to

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