unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: [feature/rcirc-update] Reconnects don't seem to work anymore
Date: Fri, 11 Jun 2021 12:59:19 +0200	[thread overview]
Message-ID: <87y2bg8y0k.fsf@gnu.org> (raw)
In-Reply-To: <877dj0wtwr.fsf@posteo.net>

Philip Kaludercic <philipk@posteo.net> 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" . #<buffer ##rust@irc.libera.chat>)
 ("#git" . #<buffer #git@irc.libera.chat>)
 ("#archlinux" . #<buffer #archlinux@irc.libera.chat>)
 ("#fsf-members" . #<buffer #fsf-members@irc.libera.chat>)
 ("#fsf" . #<buffer #fsf@irc.libera.chat>)
 ("#gnu" . #<buffer #gnu@irc.libera.chat>)
 ("#gnus" . #<buffer #gnus@irc.libera.chat>)
 ("#rcirc" . #<buffer #rcirc@irc.libera.chat>)
 ("#emacs-beginners" . #<buffer #emacs-beginners@irc.libera.chat>)
 ("#emacs" . #<buffer #emacs@irc.libera.chat>)
 ("#sway" . #<buffer #sway@irc.libera.chat>)
 ("#sr.ht" . #<buffer #sr.ht@irc.libera.chat>))
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



  reply	other threads:[~2021-06-11 10:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  9:38 [feature/rcirc-update] Reconnects don't seem to work anymore Tassilo Horn
2021-06-11 10:57 ` Philip Kaludercic
2021-06-11 10:59   ` Tassilo Horn [this message]
2021-06-11 14:50     ` Philip Kaludercic
2021-06-15  5:13     ` Tassilo Horn
2021-06-15  7:32       ` Tassilo Horn
2021-06-15 16:17       ` Philip Kaludercic
2021-06-15 18:39         ` Tassilo Horn
2021-06-15 21:49           ` Philip Kaludercic
2021-06-16  4:54             ` Tassilo Horn
2021-06-16  7:41               ` Philip Kaludercic
2021-06-16  7:43                 ` Tassilo Horn
2021-06-16  8:21                   ` Philip Kaludercic
2021-06-16  8:35                     ` Tassilo Horn
2021-06-16  8:48                       ` Philip Kaludercic
2021-06-16  9:29                         ` Tassilo Horn
2021-06-16  5:22             ` Tassilo Horn
2021-06-16  8:01               ` Philip Kaludercic
2021-06-16  8:38                 ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2bg8y0k.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).