Function: cedet-version
cedet-version is an interactive and byte-compiled function defined in
cedet.el.gz.
This command is obsolete since 28.1; use emacs-version(var)/emacs-version(fun) instead.
Signature
(cedet-version)
Documentation
Display all active versions of CEDET and dependent packages.
The PACKAGE column is the name of a given package from CEDET.
REQUESTED VERSION is the version requested by the CEDET load script.
See cedet-packages for details.
FILE VERSION is the version number found in the source file for the specified PACKAGE.
LOADED VERSION is the version of PACKAGE currently loaded in Emacs memory and (presumably) running in this Emacs instance. Value is X if the package has not been loaded.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/cedet.el.gz
(defun cedet-version ()
"Display all active versions of CEDET and dependent packages.
The PACKAGE column is the name of a given package from CEDET.
REQUESTED VERSION is the version requested by the CEDET load script.
See `cedet-packages' for details.
FILE VERSION is the version number found in the source file
for the specified PACKAGE.
LOADED VERSION is the version of PACKAGE currently loaded in Emacs
memory and (presumably) running in this Emacs instance. Value is X
if the package has not been loaded."
(declare (obsolete emacs-version "28.1"))
(interactive)
(require 'inversion)
(with-output-to-temp-buffer "*CEDET*"
(princ "CEDET Version:\t") (princ cedet-version)
(princ "\n \t\t\tRequested\tFile\t\tLoaded")
(princ "\n Package\t\tVersion\t\tVersion\t\tVersion")
(princ "\n ----------------------------------------------------------")
(let ((p cedet-packages))
(while p
(let ((sym (symbol-name (car (car p)))))
(princ "\n ")
(princ sym)
(princ ":\t")
(if (< (length sym) 5)
(princ "\t"))
(if (< (length sym) 13)
(princ "\t"))
(let ((reqver (nth 1 (car p)))
(filever (car (inversion-find-version sym)))
(loadver (when (featurep (car (car p)))
(symbol-value (intern-soft (concat sym "-version"))))))
(princ reqver)
(if (< (length reqver) 8) (princ "\t"))
(princ "\t")
(if (string= filever reqver)
;; I tried the words "check" and "match", but that
;; just looked lame.
(princ "ok\t")
(princ filever)
(if (< (length filever) 8) (princ "\t")))
(princ "\t")
(if loadver
(if (string= loadver reqver)
(princ "ok")
(princ loadver))
(princ "Not Loaded"))
))
(setq p (cdr p))))
(princ "\n\n\nC-h f cedet-version RET\n for details on output format.")
))