From: "Eric M. Ludlam" <eric@siege-engine.com>
Subject: Re[1]: [Suggestion] New function `emacs-version>=' (Wedler, Christoph)
Date: Tue, 6 May 2003 22:30:51 -0400 [thread overview]
Message-ID: <200305070230.h472Up508528@projectile.siege-engine.com> (raw)
In-Reply-To: <E19Bl8a-0006SA-00@monty-python.gnu.org> (emacs-devel-request@gnu.org)
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
parent reply other threads:[~2003-05-07 2:30 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <E19Bl8a-0006SA-00@monty-python.gnu.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305070230.h472Up508528@projectile.siege-engine.com \
--to=eric@siege-engine.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.