From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Another babel scheme issue
Date: Wed, 16 Sep 2015 17:56:26 -0400 [thread overview]
Message-ID: <87lhc6rpth.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CAFAhFSVaXeEjXWP0ZDcJk=Sm=56m+TgfaH1GPgW0R=Ryt8XQaQ@mail.gmail.com
Lawrence Bottorff <borgauf@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 <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
> >
> > #+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]
>
next prev parent reply other threads:[~2015-09-16 21:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 19:12 Another babel scheme issue Lawrence Bottorff
2015-09-16 19:30 ` Nick Dokos
2015-09-16 21:13 ` Lawrence Bottorff
2015-09-16 21:56 ` Nick Dokos [this message]
2015-09-16 23:26 ` Lawrence Bottorff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhc6rpth.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.