From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Jerram Subject: Scheme output results Date: Tue, 18 Jul 2017 15:06:37 +0100 Message-ID: <1498bbde-0912-a806-f665-47b6f8c5e6e4@ossau.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXT9D-0001Af-3Z for emacs-orgmode@gnu.org; Tue, 18 Jul 2017 10:06:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXT97-0006SD-J1 for emacs-orgmode@gnu.org; Tue, 18 Jul 2017 10:06:45 -0400 Received: from smtp-out-4.talktalk.net ([62.24.135.68]:58370) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dXT97-0006Pl-Bg for emacs-orgmode@gnu.org; Tue, 18 Jul 2017 10:06:41 -0400 Received: from [10.37.6.195] (unknown [213.86.221.35]) by arudy.520b.com (Postfix) with ESMTPSA id DEDFA38075 for ; Tue, 18 Jul 2017 14:57:20 +0100 (BST) Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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