Subject: Re: bug#62947: 30.0.50; ERC 5.6: Improve partitioning of outgoing messages
From: "J.P." <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 05 May 2023 17:54:47 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

"J.P." <[email-masked]> 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).