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#49860: 28.0.50; add IRCv3 building blocks to ERC Date: Fri, 06 Aug 2021 07:18:21 -0700 Message-ID: <87y29eslle.fsf__4410.78074961609$1628259558$gmane$org@neverwas.me> References: <87pmuuvx3p.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="25206"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-erc@gnu.org To: 49860@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 06 16:19:10 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 1mC0gn-0006NN-Up for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 16:19:09 +0200 Original-Received: from localhost ([::1]:46136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mC0gm-0003Ko-KD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 10:19:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC0gg-0003Ho-OP for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 10:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mC0gg-0005g9-HZ for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mC0gg-0003Kr-7c for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 10:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "J.P." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Aug 2021 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49860 X-GNU-PR-Package: emacs Original-Received: via spool by 49860-submit@debbugs.gnu.org id=B49860.162825952212793 (code B ref 49860); Fri, 06 Aug 2021 14:19:02 +0000 Original-Received: (at 49860) by debbugs.gnu.org; 6 Aug 2021 14:18:42 +0000 Original-Received: from localhost ([127.0.0.1]:51143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC0gM-0003KH-Et for submit@debbugs.gnu.org; Fri, 06 Aug 2021 10:18:42 -0400 Original-Received: from mail-108-mta176.mxroute.com ([136.175.108.176]:34329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC0gH-0003K0-JF for 49860@debbugs.gnu.org; Fri, 06 Aug 2021 10:18:41 -0400 Original-Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta176.mxroute.com (ZoneMTA) with ESMTPSA id 17b1bd45d2c00074ba.001 for <49860@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Fri, 06 Aug 2021 14:18:27 +0000 X-Zone-Loop: e4bc8dd99b80c3266407ed6772edb7888942c669375f X-Originating-IP: [149.28.56.236] In-Reply-To: <87pmuuvx3p.fsf@neverwas.me> (J. P.'s message of "Tue, 03 Aug 2021 18:04:42 -0700") X-AuthUser: masked@neverwas.me X-Zone-Spam-Resolution: no action X-Zone-Spam-Status: No, score=-0.1, required=15, tests=[ARC_NA=0, RCPT_COUNT_TWO=0, URIBL_BLOCKED=0, FROM_HAS_DN=0, MIME_GOOD=-0.1, FROM_EQ_ENVFROM=0, MIME_TRACE=0, RCVD_COUNT_ZERO=0, TO_DN_NONE=0, MID_RHS_MATCH_FROM=0, NEURAL_SPAM=0] 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:211335 Archived-At: Hi, I've gone ahead and started laying some groundwork [1]. Although parts may look rather cemented in place, please don't let that deter anyone from proposing a new direction, even if that means a complete overhaul. In the meantime, I'm offering a usable POC-turned-WIP [2] that I'll continue to update and report on until told otherwise. The basic approach is rather conservative, with compatibility driving most decisions. As such, external packages like erc-hl-nicks appear to hold up just fine, though that's merely a happy side effect. (BTW, I've been using some form of this as a daily driver for some time now, not that anyone should care.) Since waiting for collaborators to emerge from the woodwork may take forever, I've decided to start shaving off small pieces and submitting them as separate bugs. Some of these changes won't make much sense without the larger context, but so be it. And while it may appear like prevailing attitudes toward bold changes in ERC country would render such an exercise absurd and quixotic, I think the sheer presence of lots of little crumbs out on the dance floor leading back here can only help long term. Thanks, J.P. P.S. Perhaps this bug's severity should be reconsidered because some v3 extensions, like SASL, may soon be de facto required by major networks. Notes ~~~~~ [1] Latest: https://jpneverwas.gitlab.io/erc-tools/49860/patches.tar.gz https://jpneverwas.gitlab.io/erc-tools/49860/logs.tar.gz Snapshots for refuseniks: https://debbugs.gnu.org/cgi/bugreport.cgi?att=1;msg=6;filename=patches.tar.gz;bug=49860 https://debbugs.gnu.org/cgi/bugreport.cgi?msg=6;bug=49860;filename=logs.tar.gz;att=2 [2] To try this thing without patching/building, just install as usual: (require 'package) (push '("erc-tools" . "https://jpneverwas.gitlab.io/erc-tools/archive/") package-archives) Then M-x list-packages RET, and find the bottom-most entry for this bug, which should look something like: erc 49860.20210805.5 available An Emacs Internet Relay Chat ... And hit [Install] in the popup. After that, just add: (require 'erc-v3) (push 'v3 erc-modules) ;; Optionally, add this demo module showing some v3 features in action (push 'eldoc erc-modules) And connect as you normally would. (If you need SASL, see the commentary in erc-v3-sasl.el).