From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: [feature/rcirc-update] Reconnects don't seem to work anymore Date: Fri, 11 Jun 2021 12:59:19 +0200 Message-ID: <87y2bg8y0k.fsf@gnu.org> References: <871r98af1n.fsf@gnu.org> <877dj0wtwr.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28724"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 11 13:03:41 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lrewv-0007FK-C7 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 13:03:41 +0200 Original-Received: from localhost ([::1]:37828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrewt-000383-R5 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 07:03:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrew7-0002SI-Rg for emacs-devel@gnu.org; Fri, 11 Jun 2021 07:02:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41724) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrew6-00006v-Ot; Fri, 11 Jun 2021 07:02:50 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:43541) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrevw-0004om-03; Fri, 11 Jun 2021 07:02:50 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 658A227C0054; Fri, 11 Jun 2021 07:02:39 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 11 Jun 2021 07:02:39 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedujedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnheptd ejueelteegffeujedttdfgvdegkefglefhveeugffgvdffueevleetfeegtddtnecuffho mhgrihhnpehlihgsvghrrgdrtghhrghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhn rghlihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrgh esfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Jun 2021 07:02:38 -0400 (EDT) In-reply-to: <877dj0wtwr.fsf@posteo.net> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270696 Archived-At: Philip Kaludercic writes: >> at 11:59 I was disconnected from libera.chat. In the server buffer I >> have >> >> 10:59 *** tsdh QUIT Ping timeout: 264 seconds >> >> and in channels, there is >> >> 0:59 !!! irc.libera.chat: connection broken by remote peer (closed) >> >> Usually, if that happened I'd just `M-x rcirc RET' again, and it would >> re-connect to all servers in `rcirc-server-alist' which are not >> connected anymore. > > If you were to use /reconnect would that change anything? That is what I > tested, and I hope worked. But your method should continue working. Not sure. In the current state it just says "Server buffer is alive" which is true. >> Well, it still does that, i.e., I'm connected to irc.libera.chat >> again in *irc.libera.chat* but all channel buffers of that network >> show "(rcirc:disconnected)" in the mode-line and don't seem to >> receive any messages anymore. > > I did encounter something similar, the issue was that > rcirc-buffer-alist was nil'ed unintentionally. What is the value of > rcirc-buffer-alist in the server buffer before and after reconnecting? It still knows about the buffers: --8<---------------cut here---------------start------------->8--- (("##rust" . #) ("#git" . #) ("#archlinux" . #) ("#fsf-members" . #) ("#fsf" . #) ("#gnu" . #) ("#gnus" . #) ("#rcirc" . #) ("#emacs-beginners" . #) ("#emacs" . #) ("#sway" . #) ("#sr.ht" . #)) Local in buffer *irc.libera.chat*; global value is nil --8<---------------cut here---------------end--------------->8--- I'm now restarting emacs. The next time I get a disconnect, I'll try /reconnect instead. Bye, Tassilo