From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: svn version number as tag or property? Date: Wed, 01 Sep 2010 13:49:07 +0200 Message-ID: <8762ypbs5o.fsf@mundaneum.com> References: <4C7CBC21.8040400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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 f= rom > svn info, but that seems to be awkward for me - there must be an easier w= ay. 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 --=20 S=C3=A9bastien 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