Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-26 Thread Nicolas Goaziou
Bjarte Johansen bjarte.johan...@gmail.com writes: Fix a problem where a source block would return nil oif the result was cached and it was indented. * lisp/ob-core.el (org-babel-execute-src-block): Move point to the the first character of the result instead of the beginning of the line. *

Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-24 Thread Bjarte Johansen
On 24 May 2015, at 11:53, Bjarte Johansen bjarte.johan...@gmail.com wrote: On 24 May 2015, at 11:49, Bjarte Johansen bjarte.johan...@gmail.com wrote: On 23 May 2015, at 21:50, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Bjarte Johansen bjarte.johan...@gmail.com writes: Fix a

[O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-24 Thread Bjarte Johansen
Fix a problem where a source block would return nil oif the result was cached and it was indented. * lisp/ob-core.el (org-babel-execute-src-block): Move point to the the first character of the result instead of the beginning of the line. * testing/lisp/test-ob.el

Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-24 Thread Bjarte Johansen
On 23 May 2015, at 21:50, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Bjarte Johansen bjarte.johan...@gmail.com writes: Fix a problem where a source block would return nil oif the result was cached and it was indented. Thank you. However, the test you provide fails. I suggest to

Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-24 Thread Bjarte Johansen
On 24 May 2015, at 11:49, Bjarte Johansen bjarte.johan...@gmail.com wrote: On 23 May 2015, at 21:50, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Bjarte Johansen bjarte.johan...@gmail.com writes: Fix a problem where a source block would return nil oif the result was cached and it

Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-23 Thread Nicolas Goaziou
Bjarte Johansen bjarte.johan...@gmail.com writes: Fix a problem where a source block would return nil oif the result was cached and it was indented. Thank you. However, the test you provide fails. I suggest to create test.txt in `temporary-file-directory' instead of `default-directory'.

[O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-21 Thread Bjarte Johansen
Fix a problem where a source block would return nil oif the result was cached and it was indented. * lisp/ob-core.el (org-babel-execute-src-block): Move point to the the first character of the result instead of the beginning of the line. * testing/lisp/test-ob.el

Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-21 Thread Bjarte Johansen
Thank you for your comments. You need to add TINYCHANGE at the end of the commit message if you haven't signed FSF papers yet. I have already signed the FSF papers when I sent some changes to a different Emacs project. I will shortly send a new patch with the proposed changes. Regards,

[O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-20 Thread Bjarte Johansen
Fix a problem where a source block would return nil if the result was cached and it was indented. * lisp/ob-core.el (org-babel-execute-src-block): Move point to the the first character of the result instead of the beginning of the line. * testing/lisp/test-ob.el

Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-20 Thread Nicolas Goaziou
Hello, Bjarte Johansen bjarte.johan...@gmail.com writes: Fix a problem where a source block would return nil if the result was cached and it was indented. Thank you. Some comments follow. * lisp/ob-core.el (org-babel-execute-src-block): Move point to the the first character of the result