emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Another babel scheme issue


From: Lawrence Bottorff
Subject: Re: [O] Another babel scheme issue
Date: Wed, 16 Sep 2015 23:26:40 +0000

I appreciate your efforts, ND. No silver bullet is just lying around, so I think I can live with this for the time being. Must learn elisp I.

LB

On Wed, Sep 16, 2015 at 9:56 PM, Nick Dokos <address@hidden> wrote:
Lawrence Bottorff <address@hidden> 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 <address@hidden> wrote:
>
>     Lawrence Bottorff <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]