emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[1]: [Suggestion] New function `emacs-version>=' (Wedler, Christoph)


From: Eric M. Ludlam
Subject: Re[1]: [Suggestion] New function `emacs-version>=' (Wedler, Christoph)
Date: Tue, 6 May 2003 22:30:51 -0400

I apologize for the non-existent CC list, I'm responding to a digest.
I also apologize for not reading all the messages associated with this
thread first on the off chance I am repeating something.

>I would like to see the following function defined in Emacs[1]:
>
>(defun emacs-version>= (major &optional minor patch)
>  "Return true if the Emacs version is >= to the given version.
>The version is provided by the required argument MAJOR, and the optional
>arguments MINOR and PATCH.  Only the non-nil arguments are used in the
>test."
  [ ... ]
>Like it or not, a test like `emacs-version>=' would be useful for many
>packages, thus a corresponding function would be useful to define in
>Emacs.
>
>- Christoph
>
>[1] This function is already defined in XEmacs.

I develop and maintain several Emacs Lisp tools in my imaginary spare
time which I keep in my CEDET project.

http://cedet.sourceforge.net/

and have had versioning trouble between my own packages, and with
other not-in-emacs packages.  To help confine version problems, I
wrote (and posted to gnu.emacs.sources) a little tool I called
"inversion" to help identify if what you need is "in version"
whatever of some package.

You can peek at it in CVS here.

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/cedet/cedet/common/

or

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/cedet/cedet/common/inversion.el?rev=HEAD&content-type=text/plain

Perhaps it would be useful.
Eric

-- 
          Eric Ludlam:                 address@hidden, address@hidden
   Home: http://www.ludlam.net            Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net               GNU: www.gnu.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]