From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] Collection of code block snippets Date: Thu, 08 Sep 2011 11:44:09 -0600 Message-ID: <87bouvdj15.fsf@gmail.com> References: <878vq48dvt.fsf@gmail.com> <87zkiiq4ko.fsf@gmail.com> <87bouxr3v1.fsf@gmail.com> <87mxef6p4r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1ig8-00025S-Kv for emacs-orgmode@gnu.org; Thu, 08 Sep 2011 13:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1ig7-0001fY-6P for emacs-orgmode@gnu.org; Thu, 08 Sep 2011 13:46:20 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:63072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1ig7-0001ei-3B for emacs-orgmode@gnu.org; Thu, 08 Sep 2011 13:46:19 -0400 Received: by mail-yw0-f41.google.com with SMTP id 13so980282ywm.0 for ; Thu, 08 Sep 2011 10:46:18 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martyn Jago Cc: emacs-orgmode@gnu.org 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=E2=80= =94they > | 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.=20 > `---- > > src_src_emacs-lisp[ :results scalar ]{ \"x\" } =3Dx=3D > src_src_emacs-lisp[ :results verbatim ]{ \"x\" } =3D"x"=3D interesting, I get the same results for both scalar and verbatim... src_emacs-lisp[ :results scalar ]{ "x" } =3D"x"=3D src_emacs-lisp[ :results verbatim ]{ "x" } =3D"x"=3D Notice that I had to edit your pasted example for it to run w/o error on my system. Best -- Eric Footnotes:=20 [1] new test results ,---- | Selector: "\\(org\\|ob\\)" | Passed: 103 | Failed: 6 (6 unexpected) | Total: 109/109 |=20 | Started at: 2011-09-08 11:39:15-0600 | Finished. | Finished at: 2011-09-08 11:39:20-0600 |=20 | .........................................................................= .F..FFFFF........................... |=20 | F test-org-babel/inline-src_blk-default-results-replace-line-1 | (error "C-c C-c can do nothing useful at this location") |=20 | F test-org-babel/inline-src_blk-results-file | (error "C-c C-c can do nothing useful at this location") |=20 | F test-org-babel/inline-src_blk-results-raw | (error "C-c C-c can do nothing useful at this location") |=20 | F test-org-babel/inline-src_blk-results-scaler | (error "C-c C-c can do nothing useful at this location") |=20 | F test-org-babel/inline-src_blk-results-silent | (error "C-c C-c can do nothing useful at this location") |=20 | F test-org-babel/inline-src_blk-results-verbatim | (error "C-c C-c can do nothing useful at this location") |=20 |=20 `---- --=20 Eric Schulte http://cs.unm.edu/~eschulte/