From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Alexander Gerds Subject: export of src block ignores :results Date: Thu, 29 Sep 2016 08:43:18 +0200 Message-ID: <87mvirkxyx.fsf@biostat.ku.dk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpV3z-0007SV-Ml for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 02:43:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpV3x-0006Mv-S6 for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 02:43:22 -0400 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:36558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpV3x-0006Md-KX for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 02:43:21 -0400 Received: by mail-lf0-x22f.google.com with SMTP id g62so71206635lfe.3 for ; Wed, 28 Sep 2016 23:43:21 -0700 (PDT) Received: from siam ([62.242.207.90]) by smtp.gmail.com with ESMTPSA id j11sm1864144lfe.27.2016.09.28.23.43.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Sep 2016 23:43:19 -0700 (PDT) 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 Hi org's development version (I am using the one updated yesterday: 2b22d50 Nicolas Go 2016-09-28) seems to ignore the :results setting of a src block. more specifically, the export of this #+BEGIN_SRC R :results output :exports code :session *R* :cache yes 2+2 #+END_SRC #+RESULTS[<2016-09-29 08:32:48> e8e7ff579309fc6cacb1e75a0c1c671366c2eaf8]: : [1] 4 should *not* include the results, but it does. the elpa version, e.g., org-20160509, respects the :results setting. I tried to debug, but could not find the place in the process where the option :results is interpreted. here is how far I got: in the development version the result of the function org-element-parse-buffer does include the result of the src block "4" whereas in the elpa version result of the function org-element-parse-buffer does include it. did I miss something or is this a bug? thanks, Thomas -- sent from nil