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]>
Eli Zaretskii <[email protected]> writes:

>> From: Daniel Mendler <[email protected]>
>> Cc: [email protected],  [email protected]
>> Date: Tue, 11 Aug 2026 11:45:28 +0200
>> 
>> Eli Zaretskii <[email protected]> writes:
>> 
>> >> From: Daniel Mendler <[email protected]>
>> >> Cc: Eli Zaretskii <[email protected]>,  [email protected]
>> >> Date: Sun, 09 Aug 2026 17:01:57 +0200
>> >> 
>> >> Ciao Vincenzo!
>> >> 
>> >> Vincenzo Pupillo <[email protected]> writes:
>> >> > Ciao, sorry for the delay—I'm on vacation. The attached patch should fix the 
>> >> > bug. It's partly due to an incorrect condition in 'dframe-set-timer' that 
>> >> > doesn't follow what's written in the comment. This fix also resolves an issue 
>> >> > with 'speedbar-frame-mode,' which wasn't clearing the timer even when 
>> >> > 'speedbar-buffer' was killed.
>> >> >
>> >> > @Daniel, can you please check to see if the patch fixes the problem?
>> >> 
>> >> Yes, thank you! The patch fixes the problem. The stale timers are gone
>> >> when the speedbar is closed.
>> >> 
>> >> Eli, can you please apply this to emacs-31, since it fixes an issue,
>> >> which has been newly introduced via the new speedbar-window-mode?
>> >
>> > Thanks, done, and closing the bug.
>> 
>> Eli, can you please reopen the bug since it is not fully fixed. See my
>> last mail. The problem is less pronounced, but occasionally stale timers
>> are still around. They even cause dframe error messages when they run
>> while the speedbar window is closed.
>
> I can reopen the bug, as can you.  But it's actually not very
> important, because I've seen your report about the left-overs, and am
> still tracking this issue.  Don't worry.

Okay, thanks.
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.