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

2014-01-18 Thread Nicolas Goaziou
Hello, Nick Dokos ndo...@gmail.com 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

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 n.goaz...@gmail.comwrote: Hello, Nick Dokos ndo...@gmail.com writes: I have traced it down to org-babel-exp-process-buffer: it does the

[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:

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

2014-01-17 Thread Nick Dokos
Ahmadou Dicko dicko.ahma...@gmail.com 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

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 ndo...@gmail.com wrote: Ahmadou Dicko dicko.ahma...@gmail.com writes: Hi everyone, I use the latest

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

2014-01-17 Thread Nick Dokos
Ahmadou Dicko dicko.ahma...@gmail.com 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

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

2014-01-17 Thread Nick Dokos
Ahmadou Dicko dicko.ahma...@gmail.com 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