From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Olaf.Hamann" Subject: how to compare org-mode version to current file needs Date: Wed, 16 Mar 2011 13:42:27 +0100 Message-ID: <4D80B033.2000308@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=44126 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzqOX-0007Jw-Co for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 09:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pzq4X-0005qk-8e for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 08:43:30 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:56317) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Pzq4W-0005qG-PX for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 08:43:29 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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