Re: [Orgmode] Re: svn version number as tag or property?

2010-09-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/09/10 22:33, Achim Gratz wrote: Rainer M Krug r.m.k...@gmail.com writes: Hm - I can't find that command (I assume it is a function)? And if how can I get the file name of the buffer? Yes, an elisp function. You either already know the

[Orgmode] Re: svn version number as tag or property?

2010-09-02 Thread Noorul Islam K M
Rainer M Krug r.m.k...@gmail.com writes: On 01/09/10 22:33, Achim Gratz wrote: Rainer M Krug r.m.k...@gmail.com writes: Hm - I can't find that command (I assume it is a function)? And if how can I get the file name of the buffer? Yes, an elisp function. You either already know the name

[Orgmode] Re: svn version number as tag or property?

2010-09-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/09/10 11:21, Noorul Islam K M wrote: Rainer M Krug r.m.k...@gmail.com writes: On 01/09/10 22:33, Achim Gratz wrote: Rainer M Krug r.m.k...@gmail.com writes: Hm - I can't find that command (I assume it is a function)? And if how can I

Re: [Orgmode] Re: svn version number as tag or property?

2010-09-01 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/08/10 19:50, Achim Gratz wrote: Rainer M Krug r.m.k...@gmail.com writes: 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. Provided

[Orgmode] Re: svn version number as tag or property?

2010-09-01 Thread Sébastien Vauban
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

[Orgmode] Re: svn version number as tag or property?

2010-09-01 Thread Achim Gratz
Rainer M Krug r.m.k...@gmail.com writes: Hm - I can't find that command (I assume it is a function)? And if how can I get the file name of the buffer? Yes, an elisp function. You either already know the name of the file and insert it as a string or just use another elisp function to ask EMACS

[Orgmode] Re: svn version number as tag or property?

2010-08-31 Thread Achim Gratz
Rainer M Krug r.m.k...@gmail.com writes: 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. Provided your vc setup works correctly, then (vc-working-revision FILE) will deliver just this