emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Scheme output results
@ 2017-07-18 14:06 Neil Jerram
  2017-07-23  8:52 ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Jerram @ 2017-07-18 14:06 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-09-08  4:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 14:06 Scheme output results Neil Jerram
2017-07-23  8:52 ` 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

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