* Re[1]: [Suggestion] New function `emacs-version>=' (Wedler, Christoph)
[not found] <E19Bl8a-0006SA-00@monty-python.gnu.org>
@ 2003-05-07 2:30 ` Eric M. Ludlam
0 siblings, 0 replies; only message in thread
From: Eric M. Ludlam @ 2003-05-07 2:30 UTC (permalink / raw)
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: zappo@gnu.org, eric@siege-engine.com
Home: http://www.ludlam.net Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-07 2:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E19Bl8a-0006SA-00@monty-python.gnu.org>
2003-05-07 2:30 ` Re[1]: [Suggestion] New function `emacs-version>=' (Wedler, Christoph) Eric M. Ludlam
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.