emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal: Forwards-Compatibility Library for Emacs


From: Arthur Miller
Subject: Re: Proposal: Forwards-Compatibility Library for Emacs
Date: Wed, 22 Sep 2021 09:14:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> The point here is to not to have any separate namespace, so that you can
>>> just can put core packages into ELPA without doing any rewrites.
>>> What's the concrete risk here?
>>
>> I think in practice it's usually not a problem, but I'd be surprised if
>> there aren't counter examples.
>
> We can just start slowly and see whether any problems occur.
>
>> So for a library that wants to do it in
>> a somewhat predictable/systematic way, I think it's much simple to have
>> all the definitions in a specific namespace (like `compat28-`), and then
>> it's a small matter of have a trivial `compat28.el` library that comes
>> with Emacs-28 which has a bunch of `defalias`.
>
> The main point here is to be able to put things that are in core into
> ELPA, too.  We don't want to have code in core that goes
>
> (compat28-when-let (...)
>   )

Yes please, don't do that! :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]