emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Scheme output results


From: Nicolas Goaziou
Subject: Re: [O] Scheme output results
Date: Sun, 23 Jul 2017 10:52:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Neil Jerram <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]