Re: How to reset the idle timer?

[email protected]
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
On 2026-03-12, at 13:52, Stefan Monnier <[email protected]> wrote:

>>> This is actually an ideal use-case for Daniel Colascione's recent
>>> suggestion to change `(run-with-idle-timer N ...)` to mean
>>> that N starts counting *now* rather than starting counting when the
>>> current idle period started.
>> That is fascinating!  Is there a chance this suggestion will be
>> implemented soon?
>
> I don't know anyone who's working on it, no.
>
>> I don't see any drawbacks (of course, I probably miss something).
>
> Well, it's a change, so it would inevitably introduce breakage unless
> it comes packaged as a new function or new argument values that make it
> clear which behavior is requested.

True, although I'd be /extremely/ curious to learn about a use-case
depending on the current behavior so much that this change could break
it!

Best,

-- 
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.