bug#81561: 31.0.91; speedbar-window-mode creates stale idle timers

Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
"J.P." <[email protected]> writes:

> P.S. If it's determined that this bug is not in fact directly related to
> the introduction of `speedbar-window-mode', perhaps it's better to
> revert a56e964941f "Speedbar: no more stale idle timers (bug#81561)" on
> Emacs 31 and instead apply any future attempted fixes to master?

The bug is at least exacerbated by speedbar-window-mode. Basically
speedbar-window-mode always causes a stale timer. Without window mode I
see only few stale timers.

I think using a kill-buffer-hook as Vincenzo proposed in his last patch
is the way to go.

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