[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 12:11:04 +0200 |
> From: Campbell Barton <ideasman42@gmail.com>
> Date: Sat, 27 Nov 2021 20:14:44 +1100
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> > > Not sure if this would solve my case (is there some formal definition
> > > of what is meant by a command?).
> > > I'm changing the scroll position using `set-window-vscroll` - so I'm
> > > not sure if that counts as a command.
> >
> > Which code invokes set-window-vscroll, and what triggers that code?
>
> There is a while loop that uses (read-event) inside a `(track-mouse
> ...)` block that changes the scroll location and redraws.
But that while loop is invoked by some binding of some mouse gesture,
no? That binding _is_ the "command" I meant.
> (any solution shouldn't be so specific to my use-case of course,
> AFAICS it's just a case that is reasonable to support with whatever
> fix/feature is used).
Any solution that makes sure idle timers don't run when Emacs executes
a command is not specific to any use case, IMO.
- Support for explicitly resetting the idle timer?, Campbell Barton, 2021/11/27
- Re: Support for explicitly resetting the idle timer?, Eli Zaretskii, 2021/11/27
- Re: Support for explicitly resetting the idle timer?, Campbell Barton, 2021/11/27
- Re: Support for explicitly resetting the idle timer?, Eli Zaretskii, 2021/11/27
- Re: Support for explicitly resetting the idle timer?, Campbell Barton, 2021/11/27
- Re: Support for explicitly resetting the idle timer?,
Eli Zaretskii <=
- Re: Support for explicitly resetting the idle timer?, Campbell Barton, 2021/11/27
- Re: Support for explicitly resetting the idle timer?, Eli Zaretskii, 2021/11/27
- Re: Support for explicitly resetting the idle timer?, Campbell Barton, 2021/11/27
- Re: Support for explicitly resetting the idle timer?, Eli Zaretskii, 2021/11/27