Re: [O] export of src block ignores :results

2016-10-02 Thread Thomas Alexander Gerds
you are absolutely right: I did not know about system-wide header args. the following system-wide setting in the devel version is equivalent to my old setting: (setq org-export-babel-evaluate t) (add-to-list 'org-babel-default-header-args '(:eval . "never-export")) thanks again for your help

Re: [O] export of src block ignores :results

2016-10-01 Thread Charles C. Berry
On Fri, 30 Sep 2016, Thomas Alexander Gerds wrote: right, this is what changed and setting :eval never-export on a each block solves the problem. however, the new way breaks all my existing org-code. I don't follow this. What exactly is broken? You know all the options for setting header

Re: [O] export of src block ignores :results

2016-10-01 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > You might try this: > > #+BEGIN_SRC emacs-lisp >(setq org-babel-result-regexp > (concat >"^[]*#\\+RESULTS\\[\\(?:<[0-9]" >"\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?" >"[0-2][0-9]:[0-6][0-9]:[0-6][0-9]> ?" >

Re: [O] export of src block ignores :results

2016-09-30 Thread Thomas Alexander Gerds
right, this is what changed and setting :eval never-export on a each block solves the problem. however, the new way breaks all my existing org-code. is there a reason why the header args have to be ignored when org-export-babel-evaluate is nil? or asking more directly: would it be possible to

Re: [O] export of src block ignores :results

2016-09-30 Thread Charles C. Berry
On Thu, 29 Sep 2016, Thomas Alexander Gerds wrote: [deleted] anyway, the original problem is not solved yet. org-babel-current-result-hash is related to the execution of the src block which is independent of the export process since I have (setq org-export-babel-evaluate nil). and the

Re: [O] export of src block ignores :results

2016-09-29 Thread Thomas Alexander Gerds
thanks for looking into this. it would be great if the regexp could be changed to catch the show-time variant. the regexp you sent in your previous mail works for me, i.e., the result of (progn (looking-at org-babel-result-regexp)(match-string 1)) is the same with and without the show-time

Re: [O] export of src block ignores :results

2016-09-29 Thread Charles C. Berry
On Thu, 29 Sep 2016, Charles C. Berry wrote: On Thu, 29 Sep 2016, Thomas Alexander Gerds wrote: Hi Chuck thanks for checking. my org-version is the same release_8.3.6-1178-g2b22d5 to get the date and time of the in the results: (setq org-babel-hash-show-time t) but even without this

Re: [O] export of src block ignores :results

2016-09-29 Thread Charles C. Berry
On Thu, 29 Sep 2016, Thomas Alexander Gerds wrote: Hi Chuck thanks for checking. my org-version is the same release_8.3.6-1178-g2b22d5 to get the date and time of the in the results: (setq org-babel-hash-show-time t) but even without this option the results of the block are exported no

Re: [O] export of src block ignores :results

2016-09-29 Thread Thomas Alexander Gerds
Hi Chuck thanks for checking. my org-version is the same release_8.3.6-1178-g2b22d5 to get the date and time of the in the results: (setq org-babel-hash-show-time t) but even without this option the results of the block are exported no matter what. could someone point to the place in the

Re: [O] export of src block ignores :results

2016-09-29 Thread Charles C. Berry
On Thu, 29 Sep 2016, Thomas Alexander Gerds wrote: Hi org's development version (I am using the one updated yesterday: 2b22d50 Nicolas Go 2016-09-28) seems to ignore the :results setting of a src block. more specifically, the export of this #+BEGIN_SRC R :results output :exports code

[O] export of src block ignores :results

2016-09-29 Thread Thomas Alexander Gerds
Hi org's development version (I am using the one updated yesterday: 2b22d50 Nicolas Go 2016-09-28) seems to ignore the :results setting of a src block. more specifically, the export of this #+BEGIN_SRC R :results output :exports code :session *R* :cache yes 2+2 #+END_SRC

[O] export of src block ignores :results

2016-09-29 Thread Thomas Alexander Gerds
Hi org's development version (I am using the one updated yesterday: 2b22d50 Nicolas Go 2016-09-28) seems to ignore the :results setting of a src block. more specifically, the export of this #+BEGIN_SRC R :results output :exports code :session *R* :cache yes 2+2 #+END_SRC