[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New function `emacs-version>='
From: |
Stefan Monnier |
Subject: |
Re: New function `emacs-version>=' |
Date: |
Fri, 02 May 2003 17:14:07 -0400 |
> but the right test is:
>
> - I want to use feature/fix A
> - therefore, I test whether A is available.
I think Christoph knows that. It's just that sometimes it's difficult
to test whether A works or not. For instance, how do you check whether
the `display' property is supported by your version of Emacs ?
How do you test whether PNG images are supported (without actually
displaying such an image) ? ...
In most cases, there's a better solution than testing emacs-version, but
there are still some where testing emacs-version makes sense and furthermore
people do it anyway, so I'd rather provide an `emacs-version>=' rather than
see something fail in Emacs-21 because some idiot wrote
(or (= 20 emacs-major-version) (>= 29 emacs-minor-version)).
And then we can make bytecomp.el emit warning messages about
how you shouldn't use that function ;-)
Stefan
- [Suggestion] New function `emacs-version>=', Wedler, Christoph, 2003/05/02
- Re: New function `emacs-version>=', Juanma Barranquero, 2003/05/02
- Re: New function `emacs-version>=',
Stefan Monnier <=
- Re: New function `emacs-version>=', Juanma Barranquero, 2003/05/02
- Re: New function `emacs-version>=', Ehud Karni, 2003/05/03
- Re: New function `emacs-version>=', Juanma Barranquero, 2003/05/03
- Re: New function `emacs-version>=', Stephen J. Turnbull, 2003/05/03
- Re: New function `emacs-version>=', Juanma Barranquero, 2003/05/04
- Re: New function `emacs-version>=', Stephen J. Turnbull, 2003/05/06
- Re: New function `emacs-version>=', Richard Stallman, 2003/05/04
- Re: New function `emacs-version>=', Reiner Steib, 2003/05/03
- Re: New function `emacs-version>=', Stefan Monnier, 2003/05/03
- sort-coding-systems in 21.3 and RC branch (was: New function `emacs-version>='), Reiner Steib, 2003/05/05