[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: idle exit hook
From: |
Ergus |
Subject: |
Fwd: idle exit hook |
Date: |
Wed, 22 Jul 2020 13:32:42 +0200 |
User-agent: |
NeoMutt/20180716 |
Hi:
I recently saw a question in reddit but the answer there was not
clear (or maybe it requires a feature request)
Is there an idle-time-exit-hook? or, what's the canonical method to call
a function after breaking an idle? something like on-idle-exit?
So far I understand that having such a hook could produce some
performance penalty but not more than post-command-hook for example. Any
way, adding some restrictions (running it only once || reset the
hooks list on every idle start/end or just documenting it properly)
could solve the problem.. does it makes sense?
The idea came to me when trying to implement my own version of
idle-highlight-mode to propose to add it to vanilla. I would like to
provide a different behaviour.
Best,
Ergus
- Fwd: idle exit hook,
Ergus <=