emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neil Jerram <neil@ossau.homelinux.net>
To: emacs-orgmode@gnu.org
Subject: Scheme output results
Date: Tue, 18 Jul 2017 15:06:37 +0100	[thread overview]
Message-ID: <1498bbde-0912-a806-f665-47b6f8c5e6e4@ossau.homelinux.net> (raw)

I don't think that Scheme output results are correctly handled. Please 
consider:

#+BEGIN_SRC scheme :results output
(display "a") (newline)
(display "b") (newline)
(display "c") (newline)
'(a b c)
#+END_SRC

#+RESULTS:
: "a\nb\nc\n"

As compared with the Elisp equivalent:

#+BEGIN_SRC elisp :results output
(princ "a") (terpri)
(princ "b") (terpri)
(princ "c") (terpri)
'(a b c)
#+END_SRC

#+RESULTS:
: a
: b
: c

I have a possible fix for this - on another computer, so not to hand 
right now - but thought it would be check first whether you agree with 
me that the Scheme results should be more like the Elisp ones.

Regards - Neil

             reply	other threads:[~2017-07-18 14:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18 14:06 Neil Jerram [this message]
2017-07-23  8:52 ` Scheme output results Nicolas Goaziou
2017-08-20 16:43   ` Neil Jerram
2017-08-20 20:31     ` Nicolas Goaziou
2017-08-27 12:15       ` Bastien Guerry
2017-08-31 12:21         ` Neil Jerram
2017-09-05 21:17           ` Neil Jerram
2017-09-05 21:49             ` Nicolas Goaziou
2017-09-07 20:27               ` Neil Jerram
2017-09-08  4:50                 ` Nicolas Goaziou

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=1498bbde-0912-a806-f665-47b6f8c5e6e4@ossau.homelinux.net \
    --to=neil@ossau.homelinux.net \
    --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).