[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compat unification (was: elpa.gnu.org policy)
From: |
Lars Magne Ingebrigtsen |
Subject: |
compat unification (was: elpa.gnu.org policy) |
Date: |
Tue, 16 Nov 2010 15:10:52 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Lars Magne Ingebrigtsen <address@hidden> writes:
> Me too. I wish it was possible to just write towards Emacs 24 and
> pretend that nothing else existed, but just providing compat functions
> for older/different Emacs versions, but then you'd have competing compat
> functions for, well, everything. So it's not doable. *sigh*
Or is it?
I'm just brainstorming here. (Or barnstorming. Freebasing.
Something.)
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
would probably be totally crufty, but it'd basically be along the lines
of
(unless (fboundp 'put-image)
(cond ((featurep 'xemacs)
(defun put-image (...) ...))
(t
(defalias 'put-image 'ignore))))
Any packages that are external/internal (like Gnus) would include a copy
of this file in its distribution, and would load it. Emacs 24 itself
would never load it, but would just have it in its distribution as a
central clearinghouse for the compat functions, and any external
packages could just pull it in as needed.
Does it sound really moronic?
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- elpa.gnu.org policy (was: ELPA policy), (continued)
- elpa.gnu.org policy (was: ELPA policy), Ted Zlatanov, 2010/11/15
- Re: elpa.gnu.org policy, LluĂs, 2010/11/15
- Re: elpa.gnu.org policy, Ted Zlatanov, 2010/11/15
- Re: elpa.gnu.org policy, Chong Yidong, 2010/11/15
- Re: elpa.gnu.org policy, Lars Magne Ingebrigtsen, 2010/11/15
- Re: elpa.gnu.org policy, Tom Tromey, 2010/11/15
- Re: elpa.gnu.org policy, Chong Yidong, 2010/11/15
- Re: elpa.gnu.org policy, Lars Magne Ingebrigtsen, 2010/11/15
- Re: elpa.gnu.org policy, Glenn Morris, 2010/11/15
- Re: elpa.gnu.org policy, Lars Magne Ingebrigtsen, 2010/11/16
- compat unification (was: elpa.gnu.org policy),
Lars Magne Ingebrigtsen <=
- Re: compat unification, Stefan Monnier, 2010/11/16
- Re: compat unification, Lars Magne Ingebrigtsen, 2010/11/16
- Re: compat unification, Glenn Morris, 2010/11/16
- RE: elpa.gnu.org policy, Drew Adams, 2010/11/16
Re: ELPA policy, Tom Tromey, 2010/11/15
Re: ELPA policy, Stefan Monnier, 2010/11/15
Re: ELPA policy, Richard Stallman, 2010/11/16