emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for explicitly resetting the idle timer?


From: Eli Zaretskii
Subject: Re: Support for explicitly resetting the idle timer?
Date: Sat, 27 Nov 2021 13:33:34 +0200

> From: Campbell Barton <ideasman42@gmail.com>
> Date: Sat, 27 Nov 2021 22:16:10 +1100
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> > > Ah, right. There is an interactive function bound to a key which runs
> > > track-mouse ... etc.
> >
> > So now I wonder how come the idle timers run for you.  Perhaps the
> > command you mention activates track-mouse and exits?
> 
> It also seems strange to me, but it's not exiting - it runs
> track-mouse and calls read-event & redisplay, just double checked -
> idle timers are definitely running inside the track-mouse block (which
> is within the command).

Probably because your command calls read-event, which re-enters the
input processing loop, and can wait for input.



reply via email to

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