Francis Litterio wrote:
> I just filed this new bug at:
> http://www.emacswiki.org/cgi-bin/wiki.pl/ErcBugs
> Here are the details:
> 2004-05-28, erc.el CVS 1.669: Running NT Emacs 21.3 on my WinXP? box. If
> an ERC server buffer is killed while the connection is active, function
> erc-process-sentinel is not called. Thus, erc-disconnected-hook is never
> called, so user code that should run at disconnect-time never
> runs. Another negative consequence is that the timer stored in
> erc-ping-handler is never cancelled, thus leaving a timer on the timer
> list that refer to a killed buffer. Each time a server buffer is killed
> while connected, a new dangling timer accumulates on the timer list.
We've subsequently tracked this down to a bug in Emacs' process
handling code.
delete-process claims that it runs the process' sentinel, but
doesn't. A minimal example test case demonstrating the bug is
at:
<URL: http://www.vegetable.demon.co.uk/wence/
delete-process-bug.el>
I believe Noah Friedman (iNoah) is looking at fixing this, or at
least reporting it. So we can hope that cvs emacs should have a
fix for this soon.
--
Lawrence Mitchell <we...@gm...>
|