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: Lars Ingebrigtsen
Subject: Re: Proposal: Forwards-Compatibility Library for Emacs
Date: Tue, 21 Sep 2021 23:57:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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 (...)
  )

so I don't quite understand what you're suggesting here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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