From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: xoddf2 Newsgroups: gmane.emacs.bugs Subject: bug#62044: 30.0.50; ERC 5.5: Auto-reconnect is broken Date: Thu, 09 Mar 2023 23:34:15 -0800 Message-ID: <87zg8lawlk.fsf__13826.4502560318$1678433736$gmane$org@gmail.com> References: <87wn3rg49m.fsf@gmail.com> <87pm9jy8v7.fsf@neverwas.me> <87sfefr4qa.fsf@gmail.com> <878rg7ql29.fsf@neverwas.me> <87fsaepsso.fsf@neverwas.me> <87lek6kn1b.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="4131"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 27.1 Cc: emacs-erc@gnu.org, 62044@debbugs.gnu.org To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 10 08:35:28 2023 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 1paXHk-0000sZ-Av for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Mar 2023 08:35:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paXHR-0006Of-Lx; Fri, 10 Mar 2023 02:35:09 -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 1paXHL-0006NK-Co for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 02:35:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paXHK-0007G7-Vs for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 02:35:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paXHK-00065C-Ov for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 02:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: xoddf2 Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Mar 2023 07:35: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.167843366823316 (code B ref 62044); Fri, 10 Mar 2023 07:35:02 +0000 Original-Received: (at 62044) by debbugs.gnu.org; 10 Mar 2023 07:34:28 +0000 Original-Received: from localhost ([127.0.0.1]:53569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paXGm-000640-BV for submit@debbugs.gnu.org; Fri, 10 Mar 2023 02:34:28 -0500 Original-Received: from mail-pl1-f171.google.com ([209.85.214.171]:41949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paXGl-00063o-5d for 62044@debbugs.gnu.org; Fri, 10 Mar 2023 02:34:27 -0500 Original-Received: by mail-pl1-f171.google.com with SMTP id v11so4673779plz.8 for <62044@debbugs.gnu.org>; Thu, 09 Mar 2023 23:34:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678433661; h=mime-version:date:message-id:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=bchjNRYKY75PiJd28qgzHXKsfkkFVcI+FlY7KSxkQhQ=; b=HEO+XhDtebVGbiWD20yvYCH8kFpCftAYmm+KM6EMryFKRm+k+ZLBcVVxg2hZhuY/0G m8wu2u/15RmppItYBpdV5Tn5spyFDnC8tALGtx3pYsdPWPiZQApiW1Nej1YZRXdFOjzZ NawGZ4AgAXYdIB8EBHTHmILO0fWv8wX6M7f52HHm56auhf+eNuYmqlhpL2Mx3WJec4tz 1pUShI/zXChfTdyKheyB2dQBTpw8Z4r+TxhWZG4SEMsIzGxyAMZVNjeKQ4I4dcQ4+hL2 P03AzvJwmweQSN8BaGQWNJ9Yt2ABq5u3gkor4r1vuOSyAVJKIfZLp+NxkqYkN5zhOcta dDIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678433661; h=mime-version:date:message-id:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bchjNRYKY75PiJd28qgzHXKsfkkFVcI+FlY7KSxkQhQ=; b=GDwixkCaj7Kqk1XWfs7TrhSRWi1ywnhrZT6xN9LJF+fmR8g4ZdI4xu2xAdzDzsu3vK RXJtpMGFGWX+M4/e8JDBkPbeMLRXm12yUzCPCSEqDTldjvbNnC1STxToIIKtmTuTTz35 kPoJjFnUZgrEVFldShxcK91L1TWnCVww3SDkDLslYQPcRdwDQ+1Spi1lhdOovjvp8/De lmA6uDOTYtb8+29U7mjRHbOiMeatH20nKYcKMq7k5Y+LRhJit2Bws7khvgfYJlzBvbfK FMlG+B9cMZcZ3/CzVRzaj0oDR0Z2RBWEaUz0dg9PfbBuymhYNFexbZ5vUkMZf1eSpRgk P5qA== X-Gm-Message-State: AO0yUKVHGnZUz55jggoenmBGUg1MOY6q+0ca7kfml/R2RTVpSCcc4gKF ESQE6GeSgMEBZbuUIulEw1s= X-Google-Smtp-Source: AK7set9wukFgxU72eErxwJcrYqjjld7QObFv5t0vpB1MWX2zRWZl38782bgNtJzT9L0zXmH4/kHFug== X-Received: by 2002:a17:903:18a:b0:19c:df6e:6aec with SMTP id z10-20020a170903018a00b0019cdf6e6aecmr1230620plg.7.1678433661139; Thu, 09 Mar 2023 23:34:21 -0800 (PST) Original-Received: from localhost (068-189-034-037.res.spectrum.com. [68.189.34.37]) by smtp.gmail.com with ESMTPSA id kk13-20020a170903070d00b0019309be03e7sm788835plb.66.2023.03.09.23.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 23:34:20 -0800 (PST) In-reply-to: <87lek6kn1b.fsf@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:257655 Archived-At: J.P. writes: > [...] > > 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. Version 3 of the patch works, both with an otherwise unconfigured ERC and with a full configuration connecting to my bouncer. I used this setting in both cases: (setq erc-server-reconnect-function 'erc-server-delayed-check-reconnect) The first 2 versions did not work at all. Thanks -- xoddf2 | https://wlair.us.to/ | PGP: 20EB90D3