From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#51753: ERC switches to channel buffer on reconnect Date: Sat, 20 Nov 2021 10:09:08 +0100 Message-ID: References: <877ddfgz8q.fsf__46160.5365084083$1636600524$gmane$org@neverwas.me> <87bl2re5eg.fsf@gnus.org> <87lf1ve0m4.fsf@neverwas.me> <877ddf9sht.fsf@gnus.org> <87czmwjutj.fsf@neverwas.me> <87ilwnnvfs.fsf@neverwas.me> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8038"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , emacs-erc@gnu.org, Amin Bandali , 51753@debbugs.gnu.org To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 20 10:10:14 2021 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 1moMNx-0001v7-Gh for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Nov 2021 10:10:13 +0100 Original-Received: from localhost ([::1]:43468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moMNw-00070c-75 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Nov 2021 04:10:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moMNm-0006z1-92 for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 04:10:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58347) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moMNl-0001bZ-V9 for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 04:10:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moMNl-0007zp-Pz for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 04:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Nov 2021 09:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51753-submit@debbugs.gnu.org id=B51753.163739935730666 (code B ref 51753); Sat, 20 Nov 2021 09:10:01 +0000 Original-Received: (at 51753) by debbugs.gnu.org; 20 Nov 2021 09:09:17 +0000 Original-Received: from localhost ([127.0.0.1]:41660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moMN3-0007yX-II for submit@debbugs.gnu.org; Sat, 20 Nov 2021 04:09:17 -0500 Original-Received: from mail-pf1-f180.google.com ([209.85.210.180]:35629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moMN1-0007yJ-3v for 51753@debbugs.gnu.org; Sat, 20 Nov 2021 04:09:16 -0500 Original-Received: by mail-pf1-f180.google.com with SMTP id c4so11436593pfj.2 for <51753@debbugs.gnu.org>; Sat, 20 Nov 2021 01:09:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=a4puzxJFW/mzNnF/ANlbjOZQywDNULoYWx6evKPcEhw=; b=6SfhR5pP4hRlj5UjkILHFdK0F5qt0qJ/pB7Qlc/bP1DC/nIdBmbKTXk/ASS6I0I9oJ Mp+GZmeXChKWKzOOUYz6a1jZVxx5XzLe/YD069a1n9sUDzS+I+eGrySSy0Vo5Zx/INsz 2pSH246cQ1kdbS8XzIiScz14UHFR5hv00Krx5ZQRshkeUupSZ9vc/pG0yIF/O04WUpXl yyQLfsZcw0hZLRcpUUtXYqPaTXjLdalpyncc0wFMBO+uYbo+nt3SgI/xUzhA4HOGlOx1 N3NFPHQo0Ko7EjRn6iM+looGKL6EglzAgI07CToz022Pswpq8+XVQ9+1eENkN7Y4H8uD A54g== X-Gm-Message-State: AOAM532+Kosr72aTVbJSqo2eUdBNmccKi4RqCMRatrFIsy1Uts7UFibE ezqAiQ6TXK47tNw3kqaeq2VlaJp/lwT+2vfEBbg= X-Google-Smtp-Source: ABdhPJxANivHnH248qLP9cGY1Ts2DN1hHLSZ6zwZRp+z/lZs0ugsWLyVYxgOkEIdfLw6GrJjlfTGxSoFJtmsFj426Y0= X-Received: by 2002:a05:6a00:1909:b0:49f:a0d0:abcf with SMTP id y9-20020a056a00190900b0049fa0d0abcfmr69969039pfi.70.1637399349433; Sat, 20 Nov 2021 01:09:09 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 20 Nov 2021 10:09:08 +0100 In-Reply-To: <87ilwnnvfs.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" Xref: news.gmane.io gmane.emacs.bugs:220472 Archived-At: "J.P." writes: > It just occurred to me that we may also want to reset > `erc--server-last-reconnect-count' at some point after all (re)JOINing > is done with (both client- and server-initiated) so that the option > `erc-join-buffer' regains precedence over `erc-reconnect-display' for > the remainder of the connection. Doing so in `erc-cmd-JOIN' would cover > manually issued /JOINs as well as invocations of `erc-join-channel'. Sounds good to me.