Lawrence Bottorff <borg...@gmail.com> 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 <ndo...@gmail.com> wrote:
>
>     Lawrence Bottorff <borg...@gmail.com> 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]
>    



Reply via email to