From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: how to compare org-mode version to current file needs Date: Thu, 17 Mar 2011 10:12:05 +0100 Message-ID: <87k4fyp0uy.fsf@gnu.org> References: <4D80B033.2000308@gmx.net> <8762rip30n.fsf@altern.org> <4D81C888.7010201@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=44082 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q09Fq-0005gd-Ig for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 05:12:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q09Fp-0000e6-6P for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 05:12:25 -0400 Received: from mail-wy0-f195.google.com ([74.125.82.195]:49699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q09Fo-0000du-TX for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 05:12:25 -0400 Received: by wyb32 with SMTP id 32so463537wyb.6 for ; Thu, 17 Mar 2011 02:12:24 -0700 (PDT) In-Reply-To: <4D81C888.7010201@gmx.net> (Olaf Hamann's message of "Thu, 17 Mar 2011 09:38:32 +0100") 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: "Olaf.Hamann" Cc: Emacs-orgmode mailing list Hi Olaf, "Olaf.Hamann" writes: > I'm using head of git repository and Eric Schulte has just added a feature > to org-babel, > which I do use very often (expanding macros in src blocks). > Tangling without that new feature produce corrupt code files. now I understand, thanks. > So I would like to give a hint to myself (as I run different Emacse in > various virtual machines) and perhaps to colleques, > if they would like to use the org-file as well. Just say "This file needs Org development version" and remove this message when it is not true anymore (after the next release). > So if that feature will be still included in next stable org-mode release, (Note that, historically, I think all the features from the git dev version go to the release.) > I can compare to string =org-version= less or greater 7.5 > but in the meantime I would like to compare to a certain git revision. > > I have to take a look into git manual, right? 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)) If the needed version is a release version, it will look like This file needs Org-mode version 7.5 (release_7.5) otherwise it will look like This file needs Org-mode version 7.5 (release_7.5.71.g58e351) where the ".71.g58e351" say it's one of the git commit in current development version. HTH, -- Bastien