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.

HTH,

-- 
 Bastien

  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 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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 \
    --subject='Re: how to compare org-mode version to current file needs' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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