Re: erc-ircfmt.el: Transient-based formatting for Erc (Emacs 29+)

"J.P." <[email protected]> Thu, 28 Mar 2024 10:24:51 -0700
Newsgroups gmane.emacs.erc.general
Message-ID <[email protected]>
"J.P." <[email protected]> writes:

>>> If this is to find a home in the ERC tree, you'll need to open a bug
>>> report for it and also ensure it doesn't error when compiling or loading
>>> on Emacs 27. This last part wouldn't be necessary if we were to add
>>> transient.el as a hard ELPA dependency, but I'm not sure we're ready to
>>> make that decision anytime soon.
>>
>> It's possible to have it fallback onto a normal prefixed command tree if
>> transient.el is not available. But I'm wondering what's the support
>> matrix for Erc vis-a-vis Emacs releases. Does Erc target the last 3
>> major releases? (i.e. 27.x, 28.x, 29.x), or is >=27 a fixed constraint?
>
> Last three, AFAIK. But when it comes to 27 in particular there's a sunk
> cost component at play in terms of attention paid, at least in 5.6. But
> I don't think a fallback is really necessary for new features, in
> general: users on older Emacsen should probably expect a somewhat
> degraded experience.

Just FTR, the reason we can't add

  (transient "0.3.7")

to our Package-Requires for people on 27 is because of a bug in the
upgrade mechanism that was only recently fixed. Basically, people on 28
and 29 who install ERC from ELPA will also have the latest transient
pulled in even though the requirement is already satisfied. That's
undesirable because user code written against the built-in version may
break.