From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "J.P." Newsgroups: gmane.emacs.bugs Subject: bug#63569: 30.0.50; ERC 5.6: Add automatic nickname highlighting to ERC Date: Mon, 13 Nov 2023 12:06:46 -0800 Message-ID: <87h6lpzacp.fsf__40864.0353869245$1699906127$gmane$org@neverwas.me> References: <87ilcp1za1.fsf@neverwas.me> <87zg1yjeib.fsf@neverwas.me> <87r0l1frzc.fsf@neverwas.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16896"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-erc@gnu.org To: 63569@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 13 21:08:41 2023 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 1r2dEd-0004CY-R9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Nov 2023 21:08:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2dEM-00072b-Rr; Mon, 13 Nov 2023 15:08:22 -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 1r2dEK-0006wp-Tn for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 15:08:20 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2dEK-0002Ot-Lr for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 15:08:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2dEz-0001uj-S5 for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 15:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "J.P." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Nov 2023 20:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63569-submit@debbugs.gnu.org id=B63569.16999060827269 (code B ref 63569); Mon, 13 Nov 2023 20:09:01 +0000 Original-Received: (at 63569) by debbugs.gnu.org; 13 Nov 2023 20:08:02 +0000 Original-Received: from localhost ([127.0.0.1]:59371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2dE1-0001tB-SO for submit@debbugs.gnu.org; Mon, 13 Nov 2023 15:08:02 -0500 Original-Received: from mail-108-mta26.mxroute.com ([136.175.108.26]:39813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2dDz-0001sl-DD for 63569@debbugs.gnu.org; Mon, 13 Nov 2023 15:08:00 -0500 Original-Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta26.mxroute.com (ZoneMTA) with ESMTPSA id 18bca4b9568000190b.001 for <63569@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 13 Nov 2023 20:07:13 +0000 X-Zone-Loop: 1970c23fa7f8c8d667437a78c6e7c9d68e264b64941e X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Du0AZRsPLXukBAkLyr6SVVAncDaaq/tpFg52OgvGUp0=; b=DzMvFehaUOw6tkcwLR3iBSYfdD KMWwESGw3M/t9l0x8MOPvseLOBFDGEfzstDjuNXqczYu5nn2pB7aYr4DexCe8jBWzEGlCmqZikO9r W7Jlw/YE2eUkGf40eyXOZw8h9QVuatqhcP6nozLw7hyW9ixYJrUjGC9/YliIC5rsHFRVJtzS+Drwh aIdNwUvppzKmbxBNUIp1OvOcFMLEimP1Hf72lrdq/uRhq4/6gT9k9/RWfECFywlRZmOoM4h4T7D9R Lo1txOyijGYIiewGaXgduh9cT9Uuo5jYJHRt+L+rAn6CxDzbz28ITXbNpcpjjjs/u0qgLua1Th6zd ytDmkIug==; In-Reply-To: <87r0l1frzc.fsf@neverwas.me> (J. P.'s message of "Tue, 07 Nov 2023 08:28:07 -0800") X-Authenticated-Id: masked@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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274282 Archived-At: "J.P." writes: > A user on Libera requested some time ago that pool-creation facilities > like the ones mentioned above be added to erc-nicks. The attached patch > does this but in a simplified manner that avoids adding additional user > options. Instead, it defaults to the "blind eye" approach mentioned > above since (IMO) it's likeliest to meet user expectations. > > The patch also adds two ready-made Custom choice variants to the option > `erc-nick-colors': `font-lock' and `ansi-color'. These are predefined > sets of candidates for the (repeat string) :type variant. As may be > obvious, ERC interprets these symbols as palettes to be populated from > the :foreground colors of whatever font-lock- and ansi-color-related > faces exist for the current theme. > > There's also a minor bug fix involving initialization ordering. This has been installed as 5baa0f61f8d * Offer alternate pool-creation strategies in erc-nicks