From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Another babel scheme issue Date: Wed, 16 Sep 2015 17:13:29 -0400 Message-ID: References: <87twqurwk1.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113415e02fff00051fe3c578 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcK1D-0000vY-V7 for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 17:13:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcK1C-00008s-Uu for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 17:13:31 -0400 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:35432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcK1C-00008h-Ma for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 17:13:30 -0400 Received: by lbpo4 with SMTP id o4so111227575lbp.2 for ; Wed, 16 Sep 2015 14:13:29 -0700 (PDT) In-Reply-To: <87twqurwk1.fsf@alphaville.usersys.redhat.com> 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: Nick Dokos Cc: emacs-orgmode@gnu.org --001a113415e02fff00051fe3c578 Content-Type: text/plain; charset=UTF-8 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. 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] > > Nick > > > --001a113415e02fff00051fe3c578 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sort of. It doesn't give me a geiser dbg buffer, rathe= r

#+RESULTS:
: "Dear Matthew,\n\nWe = have discovered that all people with the last name \nFisler have won our lo= ttery. So, Matthew, \nhurry and pick up your prize.\n\nSincerely,\n\nFellei= sen\n"

Tthat is, it puts it in my org b= uffer, but it ignores the formatting. Same behavior with chicken.


= On Wed, Sep 16, 2015 at 3:30 PM, Nick Dokos <ndokos@gmail.com> wrote:
Lawrence Bottorff <borgauf@gmail.com> writes:

> ...
> However C- C-c-ing
>
> #+BEGIN_SRC scheme :session ch1
> (write-file 'stdout (letter "Matthew" "Fisler"= "Felleisen"))
> #+END_SRC
>
> produces=C2=A0
>
> #+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]

Nick



--001a113415e02fff00051fe3c578--