emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: "Olaf.Hamann" <O.Hamann@gmx.net>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: how to compare org-mode version to current file needs
Date: Thu, 17 Mar 2011 10:12:05 +0100	[thread overview]
Message-ID: <87k4fyp0uy.fsf@gnu.org> (raw)
In-Reply-To: <4D81C888.7010201@gmx.net> (Olaf Hamann's message of "Thu, 17 Mar 2011 09:38:32 +0100")

Hi Olaf,

"Olaf.Hamann" <O.Hamann@gmx.net> 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.



  reply	other threads:[~2011-03-17  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 12:42 how to compare org-mode version to current file needs Olaf.Hamann
2011-03-16 14:21 ` Eric S Fraga
2011-03-17  7:18 ` Bastien
2011-03-17  8:38   ` Olaf.Hamann
2011-03-17  9:12     ` Bastien [this message]
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:

  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=87k4fyp0uy.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=O.Hamann@gmx.net \
    --cc=emacs-orgmode@gnu.org \


* 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


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