emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Olaf.Hamann" <O.Hamann@gmx.net>
To: Bastien <bzg@altern.org>
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 11:08:48 +0100	[thread overview]
Message-ID: <4D81DDB0.6040504@gmx.net> (raw)
In-Reply-To: <87k4fyp0uy.fsf@gnu.org>

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

      reply	other threads:[~2011-03-17 10:09 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
2011-03-17 10:08       ` Olaf.Hamann [this message]

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=4D81DDB0.6040504@gmx.net \
    --to=o.hamann@gmx.net \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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
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

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