From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "J.P." Newsgroups: gmane.emacs.bugs Subject: bug#62044: 30.0.50; ERC 5.5: Auto-reconnect is broken Date: Sun, 22 Dec 2024 11:49:28 -0800 Message-ID: <87r05z7b1z.fsf__14168.1985974842$1734897023$gmane$org@neverwas.me> References: <87wn3rg49m.fsf@gmail.com> <871pyqd9qo.fsf@neverwas.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29142"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-erc@gnu.org, xoddf2 To: 62044@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 22 20:50:14 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tPRxt-0007PH-So for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Dec 2024 20:50:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPRxl-0008I3-9u; Sun, 22 Dec 2024 14:50:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPRxj-0008Hj-F0 for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 14:50:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPRxi-0007XX-Or for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 14:50:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=BEGLCGPpaLEmkEpHHaeI6hVHUxsxipEExRuMU92SoCI=; b=hvbk+6aUCYCwSTevHdXWU9zDb4DRmIjiDSzpKgzEn6GSzs/PQ4s9g7xkcqG8NhTMZzhSRIYwTUw/NGaZYnSkv3Nh1rZU+jwkdRNLd6KcmydfNk6TdE3ALOflHYuNmFspFjvy0dF7nKRsHThJ26vDLXPEyVv7htLGV+5EYhyPMO24o7gOaVVXf9/ne/+WDZmX0gRvx40UrS14G4FPmuNNrHPBC/DRs34oy2+g/2KHAbllLP8JMya+Pu5lWsT8szt3UTmwewhIjRhDqY7pjyseTdkEB+gNHgt/7g3Eu73fONtAX0HJ9qzFpZiF13GfhCPOoiyjifzuVbvxgS9D0P5C0A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPRxi-0006E7-HS for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 14:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "J.P." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2024 19:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62044 X-GNU-PR-Package: emacs Original-Received: via spool by 62044-submit@debbugs.gnu.org id=B62044.173489697823894 (code B ref 62044); Sun, 22 Dec 2024 19:50:02 +0000 Original-Received: (at 62044) by debbugs.gnu.org; 22 Dec 2024 19:49:38 +0000 Original-Received: from localhost ([127.0.0.1]:51998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPRxK-0006DK-Cz for submit@debbugs.gnu.org; Sun, 22 Dec 2024 14:49:38 -0500 Original-Received: from mail-108-mta112.mxroute.com ([136.175.108.112]:41615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPRxH-0006DB-Q4 for 62044@debbugs.gnu.org; Sun, 22 Dec 2024 14:49:36 -0500 Original-Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta112.mxroute.com (ZoneMTA) with ESMTPSA id 193efeaf087000310e.001 for <62044@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 22 Dec 2024 19:49:31 +0000 X-Zone-Loop: 9fcbb8db7f02f62490ec0febd0e94b26f806a7b2ab2e X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=BEGLCGPpaLEmkEpHHaeI6hVHUxsxipEExRuMU92SoCI=; b=NJ+4gKGS4odBJVIwU4TB5t7aq7 faAncxCSEBow7lhloqq+4rQPFnIRYWs37wk8ZJDlL5fX+AGd7FVRcCeVauEeQGtihvRNCXO2cDgMw kd6mayy4J6TCbH1t+cEcK9hJtvTSJk7OQ1rq56H66HmYiStmqnfHOY69DeYg/0nJGhmZnLf8Az6uQ NFKucOFMlzH0JV/Aij95UUrXAdqYegwX4x6gljhMd3EYdvSNj7wPnGskraQWBvgGB1FB8GEef0+1E 95c9Qa+IL/PNXQHXXAiPyhuQEY7pG9CUHn2KzQWZDyy2z9QktACnsOTEkq1n9JES7SsqvO8i4b5x5 GKekboWA==; In-Reply-To: <871pyqd9qo.fsf@neverwas.me> (J. P.'s message of "Sun, 01 Dec 2024 19:50:07 -0800") X-Authenticated-Id: masked@neverwas.me X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297621 Archived-At: "J.P." writes: > A stop-gap solution for this issue was introduced in ERC 5.6 as > `erc-server-delayed-check-reconnect', a new function value for the > option `erc-server-reconnect-function'. There's since been some > criticism regarding its lack of discoverability, despite it featuring in > the Sample Configuration of ERC's manual. It's therefore been suggested > we favor the behavior it enables whenever possible by detecting > compatible values of `erc-server-connect-function'. Any false negatives > will hopefully only affect advanced users with nonstandard connectors. > The following patch tries to implement this. Feedback welcome. I ended up installing this (perhaps only temporarily) as https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1c960bda At the end of the day, I still question the soundness of resorting to a protocol exchange to prove that the underlying transport is functioning properly. However, if no one complains in the next week or two, I'll close this with the release of 5.6.1. Thanks.