emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: svn version number as tag or property?
Date: Wed, 01 Sep 2010 13:49:07 +0200	[thread overview]
Message-ID: <8762ypbs5o.fsf@mundaneum.com> (raw)
In-Reply-To: 4C7CBC21.8040400@gmail.com

Hi Rainer,

Rainer M Krug wrote:
> is it possible to automatically insert the svn version number of the org
> file visited by the org buffer into the text and also to pass it to a code
> block as a variable?
>
> I could use a code block with a bash script to extract that information from
> svn info, but that seems to be awkward for me - there must be an easier way.

Like for LaTeX documents, I would say: insert `$Id$' in your Org file, and
that will get translated by the Id string when it will be committed.

Though, it means you first have to commit before exporting and printing, if
you want correct information on your printed document.

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      parent reply	other threads:[~2010-09-01 11:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31  8:24 svn version number as tag or property? Rainer M Krug
2010-08-31 17:50 ` Achim Gratz
2010-09-01  7:58   ` Rainer M Krug
2010-09-01 14:15     ` SOLVED (Sort of): " Rainer M Krug
2010-09-01 15:06       ` suvayu ali
2010-09-01 20:33     ` Achim Gratz
2010-09-02  8:41       ` Rainer M Krug
2010-09-02  9:21         ` Noorul Islam K M
2010-09-02  9:59           ` Rainer M Krug
2010-09-01 11:49 ` Sébastien Vauban [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=8762ypbs5o.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).