emacs-devel
[Top][All Lists]
Advanced

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

Re: compat unification


From: Stefan Monnier
Subject: Re: compat unification
Date: Tue, 16 Nov 2010 10:31:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> What if...  there was an ems-compat function in bzr Emacs.  It would be
> a, sort of, "official" current-Emacs-to-everything compat layer.

It couldn't be part of Emacs: Emacs-22's ems-compat wouldn't be able to
come with Emacs-24's compatibility functions, would it?
So it'd have to be an ELPA package.

You can go some way with such a package, but it has significant limits.
E.g. you'll still often want to know whether a feature is supported or
not before using it, because you'll want to use some other code if
it's not.  Also such compatibility definitions may confuse other
packages who'd check (fboundp 'foo) to see if a particular feature
is present.


        Stefan



reply via email to

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