Hi Martyn, > > I have written a few more tests for inline source blocks execution with > org-ctrl-c-ctrl-c (not extensive by any means).
Thanks for adding these tests, I get 6 failures all with the same error [1], is that intentional? If not would you mind taking another look at this patch? > The last two [:results scaler] and [:results verbatim] surprised me > slightly since the manual suggests to me that they would be identical > (although verbatim does what I would expect). > > ,---- > | - scalar, verbatim The results should be interpreted literally—they > | will not be converted into a table. The results will be inserted into > | the Org-mode buffer as quoted text. E.g., :results value verbatim. > `---- > > src_src_emacs-lisp[ :results scalar ]{ \"x\" } =x= > src_src_emacs-lisp[ :results verbatim ]{ \"x\" } ="x"= interesting, I get the same results for both scalar and verbatim... src_emacs-lisp[ :results scalar ]{ "x" } ="x"= src_emacs-lisp[ :results verbatim ]{ "x" } ="x"= Notice that I had to edit your pasted example for it to run w/o error on my system. Best -- Eric Footnotes: [1] new test results ,---- | Selector: "\\(org\\|ob\\)" | Passed: 103 | Failed: 6 (6 unexpected) | Total: 109/109 | | Started at: 2011-09-08 11:39:15-0600 | Finished. | Finished at: 2011-09-08 11:39:20-0600 | | ..........................................................................F..FFFFF........................... | | F test-org-babel/inline-src_blk-default-results-replace-line-1 | (error "C-c C-c can do nothing useful at this location") | | F test-org-babel/inline-src_blk-results-file | (error "C-c C-c can do nothing useful at this location") | | F test-org-babel/inline-src_blk-results-raw | (error "C-c C-c can do nothing useful at this location") | | F test-org-babel/inline-src_blk-results-scaler | (error "C-c C-c can do nothing useful at this location") | | F test-org-babel/inline-src_blk-results-silent | (error "C-c C-c can do nothing useful at this location") | | F test-org-babel/inline-src_blk-results-verbatim | (error "C-c C-c can do nothing useful at this location") | | `---- -- Eric Schulte http://cs.unm.edu/~eschulte/