emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Another babel scheme issue
Date: Wed, 16 Sep 2015 23:26:40 +0000	[thread overview]
Message-ID: <CAFAhFSXmRBfgMGDaSN8E5HMsxd8CRHfjx4OU+CmiLixMjP1-0A@mail.gmail.com> (raw)
In-Reply-To: <87lhc6rpth.fsf@alphaville.usersys.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1668 bytes --]

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 <ndokos@gmail.com> wrote:

> 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]
> >
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2625 bytes --]

      reply	other threads:[~2015-09-16 23:26 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
2015-09-16 23:26       ` Lawrence Bottorff [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFAhFSXmRBfgMGDaSN8E5HMsxd8CRHfjx4OU+CmiLixMjP1-0A@mail.gmail.com \
    --to=borgauf@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).