From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Another babel scheme issue Date: Wed, 16 Sep 2015 17:56:26 -0400 Message-ID: <87lhc6rpth.fsf@alphaville.usersys.redhat.com> References: <87twqurwk1.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcKh5-00007v-B6 for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 17:56:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcKh0-0004Sg-BB for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 17:56:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:43426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcKh0-0004SY-4X for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 17:56:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZcKgy-0005l2-Mu for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 23:56:40 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Sep 2015 23:56:40 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Sep 2015 23:56:40 +0200 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: emacs-orgmode@gnu.org Lawrence Bottorff writes: > Sort of. It doesn't give me a geiser dbg buffer, rather > > #+RESULTS: > : "Dear Matthew,\n\nWe have discovered that all people with the last name \nFisler have won our lottery. > So, Matthew, \nhurry and pick up your prize.\n\nSincerely,\n\nFelleisen\n" > > Tthat is, it puts it in my org buffer, but it ignores the formatting. Same behavior with chicken. > There may some formatting missing at the end of org-babel-execute:scheme. Comparing it to org-babel-execute:emacs-lisp in ob-emacs-lisp.el, the latter calls org-babel-result-cond and does some mucking around with the result in the scalar/verbatim cases. Maybe a similar thing should be done in ob-scheme.el. > On Wed, Sep 16, 2015 at 3:30 PM, Nick Dokos wrote: > > Lawrence Bottorff writes: > > > ... > > However C- C-c-ing > > > > #+BEGIN_SRC scheme :session ch1 > > (write-file 'stdout (letter "Matthew" "Fisler" "Felleisen")) > > #+END_SRC > > > > produces  > > > > #+RESULTS: > > : stdout > > > > I presume write-file returns stdout as its value (?). > > Does > > #+BEGIN_SRC scheme :session ch1 :results output > (write-file 'stdout (letter "Matthew" "Fisler" "Felleisen")) > #+END_SRC > > work? > > [Untested] >