Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-04 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/10 19:51, Eric S Fraga wrote: On Fri, 03 Sep 2010 09:05:24 -0600, Eric Schulte schulte.e...@gmail.com wrote: Rainer M Krug r.m.k...@gmail.com writes: On 03/09/10 16:32, Rainer M Krug wrote: On 03/09/10 15:40, Eric Schulte wrote: Hi

[Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi when I insert the following source block #+begin_src sh :exports results :var ver=(vc-working-revision(buffer-file-name)) echo Revision $ver #+end_src into a svn (probably other VCs as well) registered file and execute it via C-c C-c, it gives

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Eric Schulte
Hi Rainer, As part of the export process Org-mode copies the contents of the Org-mode file to a temporary buffer in which the business of exportation is performed. This temporary buffer is not associated with any file so (buffer-file-name) returns nil, which is causing the problem you are

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/10 15:40, Eric Schulte wrote: Hi Rainer, As part of the export process Org-mode copies the contents of the Org-mode file to a temporary buffer in which the business of exportation is performed. This temporary buffer is not associated

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/10 16:32, Rainer M Krug wrote: On 03/09/10 15:40, Eric Schulte wrote: Hi Rainer, As part of the export process Org-mode copies the contents of the Org-mode file to a temporary buffer in which the business of exportation is performed.

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Eric Schulte
Rainer M Krug r.m.k...@gmail.com writes: On 03/09/10 16:32, Rainer M Krug wrote: On 03/09/10 15:40, Eric Schulte wrote: Hi Rainer, As part of the export process Org-mode copies the contents of the Org-mode file to a temporary buffer in which the business of exportation is performed. This

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Eric S Fraga
On Fri, 03 Sep 2010 09:05:24 -0600, Eric Schulte schulte.e...@gmail.com wrote: Rainer M Krug r.m.k...@gmail.com writes: On 03/09/10 16:32, Rainer M Krug wrote: On 03/09/10 15:40, Eric Schulte wrote: Hi Rainer, As part of the export process Org-mode copies the contents of the