From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mike Kazantsev Newsgroups: gmane.emacs.bugs Subject: bug#59976: ERC 5.4.1: erc-networks--id gets clobbered in erc server buffer on /query name conflict Date: Thu, 15 Dec 2022 23:45:52 +0500 Message-ID: <20221215234552.76f2a2f5__22845.4600017116$1671130040$gmane$org@malediction> References: <20221212000031.2f679e5e@malediction> <87pmcowuzv.fsf@neverwas.me> <20221212203508.3cd44bb6@malediction> <87o7s7qqut.fsf@neverwas.me> <87sfhgn45z.fsf@neverwas.me> <20221215232455.4a9c6677@malediction> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14904"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59976@debbugs.gnu.org, emacs-erc@gnu.org To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 15 19:47:12 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 1p5tGC-0003dF-ET for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Dec 2022 19:47:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5tG5-0006s4-3d; Thu, 15 Dec 2022 13:47:07 -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 1p5tG2-0006rg-8U for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 13:47:02 -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 1p5tG1-0000lc-Rf for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 13:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5tG1-0008JP-Nx for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 13:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kazantsev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2022 18:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59976 X-GNU-PR-Package: emacs Original-Received: via spool by 59976-submit@debbugs.gnu.org id=B59976.167112996431935 (code B ref 59976); Thu, 15 Dec 2022 18:47:01 +0000 Original-Received: (at 59976) by debbugs.gnu.org; 15 Dec 2022 18:46:04 +0000 Original-Received: from localhost ([127.0.0.1]:44269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5tF6-0008J1-2t for submit@debbugs.gnu.org; Thu, 15 Dec 2022 13:46:04 -0500 Original-Received: from mail-lj1-f181.google.com ([209.85.208.181]:34355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5tF4-0008IH-Mq for 59976@debbugs.gnu.org; Thu, 15 Dec 2022 13:46:03 -0500 Original-Received: by mail-lj1-f181.google.com with SMTP id s10so10903568ljg.1 for <59976@debbugs.gnu.org>; Thu, 15 Dec 2022 10:46:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=QASqCWO3Sr5axbfyplA52I9jUdQxbjr5YEjtOK/UVy0=; b=TeCOTjHFYs4GHEsm/lgGoaW0njBECWc1h48cRZi0bSix703Yn4o3xNdqwkzg5APIrS Bpb9u0jVFwqkyFlxUnJ3fDxdpyh8nswEi3BtxqXAlZVh+/dMKa40saUWKAza5i0Yj6t0 KNNTDda1jgMi/AtmdTf5/FL+NGGwlD0kSf5mFblYk8zrJ8Ex24DYdEOw/9l5mqyGihup 5knyfQtjU2KFXZH/cWdlogXT1rgnNWNo5e/0aBafwP+FjB9uXx7f8pb1zd/9pd0wlp7P n8ORsBF8euo4PSZM1aX0MqLSV5ivKCiF06jS33QGyMAbTZJbQj4TtS/fFLQwNarGsgkh io0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QASqCWO3Sr5axbfyplA52I9jUdQxbjr5YEjtOK/UVy0=; b=7uOQ3QOlc/luTy4Hxl0HIRX5i+1RD3frQMz9elp4/LT7jcTTQQpNv7AWsWX6HDJENZ 7hdrOYPshTI/KxA1VF88WSAnCKst5V5SEJgBAn7qMIiM8R74UAzRdwYx8zYRlgOsdeJg 5AYdRzLunpHOzyyX+gxT80TtD/EXy5n7HedgJCHDq/3aE2OYRcVZLWFkAnSGp6Rk+dZR h9VpWyU0J+PHjv1Zmsq531z7dlDBX6Wbh5ZLzQVibI/3Qsl4ajFjWlrAf98k0+hilRA/ q9aTzjN5qESbuaqZl6MIsHMGu68Nlo29DaUBFb1tmsppwEuT7rJv/shPQSYORA5fgzFB 8/CQ== X-Gm-Message-State: AFqh2krdAGz9WWVjK7YaYl1/DSDQhqQ0VM9KfMbIh/KwjFXsipOUUz9l RhgfRv88H5f02bv0AAOYnE14imzPEKw= X-Google-Smtp-Source: AMrXdXsYrb8eiTVBgE7OrAwZdpLXnkhG0ilTeGMHC2IOSryxBuKnbDQacaQbJSOqgzF6dCvetW/3kg== X-Received: by 2002:a2e:9843:0:b0:27d:e218:a528 with SMTP id e3-20020a2e9843000000b0027de218a528mr1927242ljj.12.1671129956390; Thu, 15 Dec 2022 10:45:56 -0800 (PST) Original-Received: from malediction ([46.48.96.28]) by smtp.gmail.com with ESMTPSA id bd25-20020a05651c169900b0027708c94c9bsm9730ljb.79.2022.12.15.10.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Dec 2022 10:45:55 -0800 (PST) In-Reply-To: <20221215232455.4a9c6677@malediction> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-pc-linux-gnu) 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:251136 Archived-At: On Thu, 15 Dec 2022 23:24:55 +0500 Mike Kazantsev wrote: > Come to think of it, I'd probably also add the most obvious effect of :id > for naming the server buffer, i.e. something like this: > > When present, ID should be an opaque object for identifying the connection > unequivocally, and will correspond to name of the created erc server buffer > after connection. ... > > Can probably be phrased better, but since main effect of "(erc ...)" command is > creating that server buffer, what it will be named seem to be an important detail > (if only for finding it afterwards). In fact, I think allowing for naming server buffers how you want them to be named with one easy and reasonably-obvious option should probably be most prominent thing about it: https://e.var.nz/scr-20221215233955.jpg (example of using :id for all networks, in contrast to earlier inconsistent not-entirely-local naming) -- Mike Kazantsev // fraggod.net