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#62947: 30.0.50; ERC 5.6: Improve partitioning of outgoing messages Date: Fri, 05 May 2023 17:54:47 -0700 Message-ID: <874joqwa7c.fsf__46499.5261094131$1683334529$gmane$org@neverwas.me> References: <87wn27ncnk.fsf@neverwas.me> <87wn1rwdnd.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="30409"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-erc@gnu.org To: 62947-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 06 02:55:20 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 1pv6Cm-0007hp-67 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 May 2023 02:55:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pv6CW-0006uk-88; Fri, 05 May 2023 20:55:04 -0400 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 1pv6CU-0006tA-Ta for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 20:55:02 -0400 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 1pv6CU-0002hw-Hm for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 20:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pv6CU-0006a4-DO for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 20:55:02 -0400 Resent-From: "J.P." Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 May 2023 00:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62947 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 62947@debbugs.gnu.org, jp@neverwas.me, jp@neverwas.me Original-Received: via spool by 62947-done@debbugs.gnu.org id=D62947.168333449925263 (code D ref 62947); Sat, 06 May 2023 00:55:02 +0000 Original-Received: (at 62947-done) by debbugs.gnu.org; 6 May 2023 00:54:59 +0000 Original-Received: from localhost ([127.0.0.1]:57840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pv6CR-0006ZM-18 for submit@debbugs.gnu.org; Fri, 05 May 2023 20:54:59 -0400 Original-Received: from mail-108-mta94.mxroute.com ([136.175.108.94]:37597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pv6CO-0006YT-Uq for 62947-done@debbugs.gnu.org; Fri, 05 May 2023 20:54:57 -0400 Original-Received: from mail-111-mta2.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta94.mxroute.com (ZoneMTA) with ESMTPSA id 187ee8debd5000becb.001 for <62947-done@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 06 May 2023 00:54:51 +0000 X-Zone-Loop: d8cf7e6ca71bccac4e43f8e2929e35ef3841136e4a76 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=XiZpcPn6BaesukNjQbD7iA1ylhhBATzuT1F7snWai7o=; b=Tt3u+jaIEdams9J9m8y1Xbqu2G roYJjCY/wvQzq+nVBvsluoystSfubJGgkBDkxHpjP2iED2CvJK5ZHfIbd6mvK7Y6Ea8vHAJ02XOVo 73EXhPWxc2EompfXHgQmMdC2zC9nPSZwTmVpujAWWGgA2NwVmeSYnOX4p+/6qtbOXBHmpz3pKdh1+ FnPW/zU/pl5w7G6t1Av7zVfDUUgjKpzJhW8IdjWE/rU7gfeBYeNg/Q6m8EGBY4P3/cJzmU8cQuYU8 laty1KTTBmrPGqzmnrbjoHvJPMJD8U5IqsaoHgOefT9d+ZA7jvnS566IuxUbN0aycvUHsqx2SesHZ UUxelpDg==; In-Reply-To: <87wn1rwdnd.fsf@neverwas.me> (J. P.'s message of "Mon, 01 May 2023 21:39:02 -0700") 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:261149 Archived-At: "J.P." writes: > The path I'm proposing does come with one minor hiccup in terms of > corner-case breakage, but only for third-parties that expect > protocol-length line splitting to occur after the more send-focused > hooks run (chiefly, `erc-pre-send-functions'). To smooth things over, > I'm proposing an off-by-default compat switch, which would manifest as a > new "refoldp" slot for the `erc-input' object that's shared among these > hook members. Third parties can toggle this on if they'd rather not > trust other members to perform the necessary bookeeping to keep line > lengths in check. > > If you'd like to try this, just > > (setq erc-inhibit-multiline-input t > erc-send-whitespace-lines t) > > and submit a long passage at the prompt. These changes have been added, perhaps prematurely, as https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3a5a6fce Thanks and closing (for now).