From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Scheme output results Date: Sun, 23 Jul 2017 10:52:50 +0200 Message-ID: <877eyzo7q5.fsf@nicolasgoaziou.fr> References: <1498bbde-0912-a806-f665-47b6f8c5e6e4@ossau.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZCdH-00073X-RI for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 04:53:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZCdD-00033X-8r for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 04:52:59 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:38022) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dZCdD-00032o-2J for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 04:52:55 -0400 In-Reply-To: <1498bbde-0912-a806-f665-47b6f8c5e6e4@ossau.homelinux.net> (Neil Jerram's message of "Tue, 18 Jul 2017 15:06:37 +0100") 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: Neil Jerram Cc: emacs-orgmode@gnu.org Hello, Neil Jerram 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