emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Neil Jerram <neil@ossau.homelinux.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Scheme output results
Date: Sun, 23 Jul 2017 10:52:50 +0200	[thread overview]
Message-ID: <877eyzo7q5.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <1498bbde-0912-a806-f665-47b6f8c5e6e4@ossau.homelinux.net> (Neil Jerram's message of "Tue, 18 Jul 2017 15:06:37 +0100")

Hello,

Neil Jerram <neil@ossau.homelinux.net> writes:

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

That sounds like a good idea. Could you send your fix as a proper patch
with a commit message?

Thank you!

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-07-23  8:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18 14:06 Scheme output results Neil Jerram
2017-07-23  8:52 ` Nicolas Goaziou [this message]
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=877eyzo7q5.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=neil@ossau.homelinux.net \
    /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).