Re: How to reset the idle timer?

Michael Heerdegen <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
[email protected] writes:

> That's interesting.  I have a feeling that it's a bit convoluted and
> hackish, but then maybe so is my idea of "resetting" the idle time.
> Still, I think that a "reset" like this may be more elegant and simpler.
> WDYT?  Is `(setq unread-command-events nil)' a good idea, then?

Idle timers are the interface provided exactly for cases like yours.
Manipulating `unread-command-events' is the hack.

The difference?  The second option is guaranteed to hurt if you choose
to use it for a second time.  Of course, only after you had forgotten
about the first use.

Accumulate such things in your setup and get crazy.  That's it.


Michael.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.