From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#54087: 28.0.91; rcirc: irc.gnome reg timeout; reconnects after quit Date: Tue, 22 Feb 2022 19:35:22 -0500 Organization: Red Hat, Inc. Message-ID: References: <8ebcab7f-5d2a-6e08-4659-1d1933b4d94d@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22215"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: 54087@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 23 01:36:33 2022 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 1nMfdx-0005dL-J2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Feb 2022 01:36:33 +0100 Original-Received: from localhost ([::1]:36996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMfdv-00016b-7E for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 19:36:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMfdS-00013i-Gm for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 19:36:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMfdR-0005LV-Up for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 19:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMfdR-0005RK-TJ for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 19:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Feb 2022 00:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54087 X-GNU-PR-Package: emacs Original-Received: via spool by 54087-submit@debbugs.gnu.org id=B54087.164557653020864 (code B ref 54087); Wed, 23 Feb 2022 00:36:01 +0000 Original-Received: (at 54087) by debbugs.gnu.org; 23 Feb 2022 00:35:30 +0000 Original-Received: from localhost ([127.0.0.1]:43074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMfcw-0005QS-MX for submit@debbugs.gnu.org; Tue, 22 Feb 2022 19:35:30 -0500 Original-Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:47261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMfcv-0005QK-CR for 54087@debbugs.gnu.org; Tue, 22 Feb 2022 19:35:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645576528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7ibo2Nqbf1brA5QL24aCsOD4MwsqmBonhsilnF+jTnk=; b=bDRCMjxP4A2OK0LLPE2EBPS6jq3Mg7QPIRBTQuuSe7Fye0F/LIMyRKUZ+haNJzUBVSbYmB J176cgAzLVzHTDYR19jhwYc01ZFzx+lW5AeIPzIyKGWyEJBDKTVQJ+yTNyn3EIjhSEXPRB w6IR8m0vni1bYMXegEX49oDVGuIBnvs= Original-Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-86-e3S2q0zwNveXbfKXM3KO5g-1; Tue, 22 Feb 2022 19:35:25 -0500 X-MC-Unique: e3S2q0zwNveXbfKXM3KO5g-1 Original-Received: by mail-qv1-f69.google.com with SMTP id i20-20020a056214031400b0043185095fe2so1646534qvu.10 for <54087@debbugs.gnu.org>; Tue, 22 Feb 2022 16:35:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:references:organization:in-reply-to :content-transfer-encoding; bh=7ibo2Nqbf1brA5QL24aCsOD4MwsqmBonhsilnF+jTnk=; b=InFdagqHeDM2vLkwdxJWXogPvqGOPNWrLmxxs0wx7qaKQaMe/Zs9PM6ERwHeEWGqMX VrC6y09X/PjMlMXjADizcEzvrPD2xghXWoV59BbxhA3cXvkMHfDlukHkcbVBbW81fM6M gBVx9agfvdahNA4ACwXK1tfBAaXekwe4YU4+TsFGg7RqlTO4ST0xAa47Lt8PUEEz7VoS gEUVnKd368H/RKGs7L1QGnQAuubwpF2zAoKu7IA2iFTC2o25/r6b09QT8ehSgL6bMwfE LjNfmK6msBOtbNRieQIxKaWBWhkrSd0+YV/NSGOBnKvY6Hdo/SVG9maQhlSry1QviUWR wmhQ== X-Gm-Message-State: AOAM530qerDlv7XLvRXFPpBz832vPXCTtj40orFnkl34CHPDWQEEDYzW atwnmC3+3LSTwrHB7A5qOkdoOAlkCUWHsLJusTCGjEq9tzC/tJFiDZiTCYo1+d76CMjhAcWdlNF /wtcL7aro8LGtMEoecF3ZW7P++/3TR2evu2j/YWXZK9vBMXkQdy+YJryDkKJf2LrtoQ== X-Received: by 2002:ac8:5712:0:b0:2dc:dc03:145e with SMTP id 18-20020ac85712000000b002dcdc03145emr24744663qtw.283.1645576524933; Tue, 22 Feb 2022 16:35:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmQtYzxBtZpXr6AruIjXQfwuBcONSmgulxKCmyQa308MmWOSPa+oi8T9VwczMWN8wpyHEKFQ== X-Received: by 2002:ac8:5712:0:b0:2dc:dc03:145e with SMTP id 18-20020ac85712000000b002dcdc03145emr24744643qtw.283.1645576524595; Tue, 22 Feb 2022 16:35:24 -0800 (PST) Original-Received: from [192.168.23.170] (c-24-60-138-149.hsd1.ma.comcast.net. [24.60.138.149]) by smtp.gmail.com with ESMTPSA id z5sm770928qki.54.2022.02.22.16.35.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Feb 2022 16:35:24 -0800 (PST) In-Reply-To: <8ebcab7f-5d2a-6e08-4659-1d1933b4d94d@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US 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" Xref: news.gmane.io gmane.emacs.bugs:227466 Archived-At: Aha! In the reply from irc.gnome.org, there's a space after the capability name. Hmm... actually, just the "ACK" ones, not the "NAK" ones. And the line splitting done in Lisp preserves it, associated with the capability name. So rcirc-acked-capabilities accumulates names like "sasl ", and the names like "sasl" never get removed from rcirc-requested-capabilities. Since that list never becomes empty, we think we never finish the negotiation... I'm not familiar enough with the IRC protocol to know if simply throwing away trailing whitespace always is a good solution, or if doing something specific for capability names is better, so I'll leave it at that for now.