From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Olaf.Hamann" Subject: Re: how to compare org-mode version to current file needs Date: Thu, 17 Mar 2011 11:08:48 +0100 Message-ID: <4D81DDB0.6040504@gmx.net> References: <4D80B033.2000308@gmx.net> <8762rip30n.fsf@altern.org> <4D81C888.7010201@gmx.net> <87k4fyp0uy.fsf@gnu.org> 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=51905 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0A9K-0000iJ-2d for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 06:09:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0A9I-0003Mq-UX for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 06:09:45 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:46784) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q0A9I-0003Ml-Gx for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 06:09:44 -0400 In-Reply-To: <87k4fyp0uy.fsf@gnu.org> 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: Bastien Cc: Emacs-orgmode mailing list Am 17.03.2011 10:12, schrieb Bastien: > [...] > I don't see the real need for something complicated. Just say that the > .org file needs current head until it's not true anymore. If you don't > want to have to update this message, say > > (insert "This file needs " (org-version)) > [..] Pragmatical, easy to implement solution, Bastien, thank you very much. What I was thinking about meanwhile is: * write an emacs-lisp function to check whether the needed variable/function is available ** if not, throw an error * attach that function to org-babel-pretangle-hook So now I can choose between two solutions to this problem, thanks to the list for answering my question. Regards, Olaf