GNU bug report logs - #62044
30.0.50; ERC 5.5: Auto-reconnect is broken

Previous Next

Package: emacs;

Reported by: xoddf2 <woddfellow2 <at> gmail.com>

Date: Wed, 8 Mar 2023 06:14:01 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #20 received at 62044 <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: xoddf2 <woddfellow2 <at> gmail.com>
Cc: emacs-erc <at> gnu.org, 62044 <at> debbugs.gnu.org
Subject: Re: bug#62044: 30.0.50; ERC 5.5: Auto-reconnect is broken
Date: Thu, 09 Mar 2023 06:38:24 -0800
[Message part 1 (text/plain, inline)]
"J.P." <jp <at> neverwas.me> writes:

> I've attached a less sloppy version that probably still fails in some
> common cases, but at least it reuses the existing session connector.

I've improved upon this further (v3 attached) by adding a housekeeping
task to monitor the initial server process from creation. Such a move
may be regrettable because it adds yet more complexity to the already
dizzying auto-reconnect landscape. However, I couldn't find a suitable
way to cover common process errors that aren't presented to the sentinel
but still need to engage the reconnect logic.

If this leads to a futile game of whack-a-mole, we'll obviously need to
try a different approach. But if we do more-or-less build on what I've
got so far, we'll definitely need to ensure it agrees with 27 and 28
before spending serious energy on refinement and tests.

Thanks.

[0000-v2-v3.diff (text/x-patch, attachment)]
[0001-Add-conditional-erc-server-reconnect-function.patch (text/x-patch, attachment)]

This bug report was last modified 65 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.