[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New function `emacs-version>='
From: |
Reiner Steib |
Subject: |
Re: New function `emacs-version>=' |
Date: |
Sat, 03 May 2003 19:48:16 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
On Fri, May 02 2003, Stefan Monnier wrote:
> It's just that sometimes it's difficult to test whether A works or
> not.
Another example (BTW: Is this fixed in the RC branch?):
Gnus 5.9 bundled with Emacs 21.3 comes with a slightly broken version
of the function `sort-coding-systems'. Therefore in some cases, Gnus
uses utf-16-x rather than utf-8. Additionally, it's not correct
utf-16-be. (See [1] for details.)
My current test is...
(when (featurep 'xemacs)
(error (concat "This file cannot be used with XEmacs.")))
(defun rs-sort-coding-systems (codings) [... fixed code ...])
(if (and (= emacs-major-version 21) (= emacs-minor-version 3))
(defalias 'sort-coding-systems 'rs-sort-coding-systems)
(message "[...]"))
Okay, here I'd need `emacs-version=', rather than emacs-version>='.
But I don't see a better test than emacs-version.
Bye, Reiner.
[1] <address@hidden> on bug-gnu-emacs,
<URL:http://news.gmane.org/onethread.php?group=gmane.emacs.bugs&address@hidden>
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
- [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, 2003/05/02
- 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 <=
- 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
- Re: sort-coding-systems in 21.3 and RC branch (was: New function `emacs-version>='), Kenichi Handa, 2003/05/06
Re: [Suggestion] New function `emacs-version>=', Thien-Thi Nguyen, 2003/05/02
Re: [Suggestion] New function `emacs-version>=', Richard Stallman, 2003/05/04
Re: [Suggestion] New function `emacs-version>=', Istvan Marko, 2003/05/06