Re: [O] Different behavior of exported results in org-babel

2014-01-18 Thread Ahmadou Dicko
Thanks a lot Nicolas and Nick. I just tried it and everything works as expected. Thank you very much. On Sat, Jan 18, 2014 at 2:43 PM, Nicolas Goaziou wrote: > Hello, > > Nick Dokos writes: > > > I have traced it down to org-babel-exp-process-buffer: it does the > > deletions of the source cod

Re: [O] Different behavior of exported results in org-babel

2014-01-18 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > I have traced it down to org-babel-exp-process-buffer: it does the > deletions of the source code blocks (possibly putting them back again > if the header args tell it to) but it does not always delete the right > region. More details later. Indeed. I pushed a fix th

Re: [O] Different behavior of exported results in org-babel

2014-01-17 Thread Nick Dokos
Ahmadou Dicko writes: > As a workaround I will use your trick (in buffer evaluation before > exporting) but I was thinking of writing a filter. A better workaround is to delete the white space (spaces, tabs and newlines) at the end of the file: without that, the problem goes away. If white space

Re: [O] Different behavior of exported results in org-babel

2014-01-17 Thread Nick Dokos
Ahmadou Dicko writes: > Thanks for testing. > As a workaround I will use your trick (in buffer evaluation before exporting) > but I was thinking of writing a filter. > I think this is a bug, so wait a bit before writing the filter. Eric Schulte will probably know what's wrong immediately, but i

Re: [O] Different behavior of exported results in org-babel

2014-01-17 Thread Ahmadou Dicko
Thanks for testing. As a workaround I will use your trick (in buffer evaluation before exporting) but I was thinking of writing a filter. On Fri, Jan 17, 2014 at 7:04 PM, Nick Dokos wrote: > Ahmadou Dicko writes: > > > Hi everyone, > > > > I use the latest version of org-mode (from github) and

Re: [O] Different behavior of exported results in org-babel

2014-01-17 Thread Nick Dokos
Ahmadou Dicko writes: > Hi everyone, > > I use the latest version of org-mode (from github) and I update it daily. > I noticed some changes recently in org-babel (ob-R). > > Here's a sample code to explain the problem : > > #+TITLE: Test export > #+AUTHOR: Ahmadou H. DICKO > #+PROPERTY: session *

[O] Different behavior of exported results in org-babel

2014-01-17 Thread Ahmadou Dicko
Hi everyone, I use the latest version of org-mode (from github) and I update it daily. I noticed some changes recently in org-babel (ob-R). Here's a sample code to explain the problem : #+TITLE: Test export #+AUTHOR: Ahmadou H. DICKO #+PROPERTY: session *R* #+PROPERTY: cache yes #+PROPERTY: expo