From: "Olaf.Hamann" <O.Hamann@gmx.net>
To: emacs-orgmode@gnu.org
Subject: how to compare org-mode version to current file needs
Date: Wed, 16 Mar 2011 13:42:27 +0100 [thread overview]
Message-ID: <4D80B033.2000308@gmx.net> (raw)
Hello,
is there any org-mode expression for saying "this org-file needs
org-version > xxx"
which will compare current needs of the file to used orgmode at org-file
startup
and present a little message to the user?
I think, it could be done with an emacs-lisp block comparing org-version
to a certain string,
but I have to express
this org-file needs org-version >= "Org-mode version 7.5
(release_7.5.47.g4d9f2.dirty)"
and I don't know what or how to compare (string compare or git timeline
or so?).
Thank you very much in advance,
Olaf
next reply other threads:[~2011-03-16 13:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 12:42 Olaf.Hamann [this message]
2011-03-16 14:21 ` how to compare org-mode version to current file needs Eric S Fraga
2011-03-17 7:18 ` Bastien
2011-03-17 8:38 ` Olaf.Hamann
2011-03-17 9:12 ` Bastien
2011-03-17 10:08 ` Olaf.Hamann
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D80B033.2000308@gmx.net \
--to=o.hamann@gmx.net \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).