How to reset the idle timer?

[email protected]
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
Hi all,

I'd like to tell Emacs "start counting the idle time from now", even if
the user didn't do anything.  How to do that?

I asked an LLM, and it told me to say

(setq unread-command-events '(t))

However, it had troubles explaining why I should use `(t)'.  The docs
for `unread-command-events' didn't help much, either.  By trial and
error I found out that

(setq unread-command-events nil)

is better in the sense that it doesn't pollute `view-lossage'.  Is that
a correct way?  Is that the best way?

TIA,

-- 
Marcin Borkowski
https://mbork.pl
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.