"Olaf.Hamann" <o.ham...@gmx.net> writes:

> 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?

not that I know of.

> 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?).

You might want to compare against the string =org-version= (as opposed to
the output from the function of the same name).  This will be the last
release version and will not include the number of commits etc from that
release onwards.  I would think that comparing to an actual release should
be the finest granularity you should use?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.55.g87c42.dirty)

Reply via email to