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"
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? Does that indicate a patch for a beta-XEmacs, or a beta
version of the next patch-level? IOW, would "21.5 (patch 37) (beta93)"
be more like 21.5.37.93 or 21.5.93.37?
Thanks
Marcus
Footnotes:
[1]
http://cedet.cvs.sourceforge.net/cedet/cedet/common/inversion.el?revision...
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta