* Marcus Harnisch <marcus.harnisch(a)gmx.net> writes:
Hi all
The current CVS version from CEDET throws an error when loaded. Reason
is the library `inversion'[1] which comes with CEDET and aims at
providing a standard interface for dealing with version numbers and
strings. It parses `emacs-version' using a list of regular expressions
(`inversion-decoders') and tries to figure whether this is a full
release, alpha, beta, etc.
None of the regexps matches our format:
"21.5 (beta28) \"fuki\" 4cb7c59b5201 XEmacs
Lucid"
Parsing version strings is evil. That's why we have...
`emacs-minor-version'
`emacs-major-version'
`emacs-beta-version'
`emacs-program-version'
And #'emacs-version>=
I guess it wouldn't be too difficult to add XEmacs regexps to
these. But looking at version.el I found some confusing information:
,----
| (defconst emacs-version
| (format "%d.%d %s%s%s%s%s"
| emacs-major-version
| emacs-minor-version
| (if emacs-patch-level
| (format "(patch %d)" emacs-patch-level)
| "")
| (if xemacs-betaname
| (concat " " xemacs-betaname)
| "")
| (if xemacs-codename
| (concat " \"" xemacs-codename "\"")
| "")
| (if xemacs-extra-name
| (concat " " xemacs-extra-name)
| "")
| " XEmacs Lucid")
| "Version numbers of this version of XEmacs.")
`----
Conditionals evaluating `emacs-patch-level' and
`xemacs-betaname'
are not mutually exclusive. What does it tell me if both variables
are non-nil?
The build is broken.
This file, version.el, is used unaltered in both XEmacs beta and XEmacs
stable. It is simply catering for the small differences between the
two.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| SXEmacs - The only _______ you'll ever need. |
| Fill in the blank, yes, it's THAT good! |
|------------------------------------<steve(a)sxemacs.org>---|
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta