From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Alexander Gerds Subject: Re: export of src block ignores :results Date: Thu, 29 Sep 2016 21:53:45 +0200 Message-ID: <87a8eqv5x2.fsf@biostat.ku.dk> References: <87r383ky0w.fsf@biostat.ku.dk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bphP0-0005t0-78 for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 15:53:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bphOv-0005JA-5b for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 15:53:53 -0400 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:33714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bphOu-0005IM-Th for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 15:53:49 -0400 Received: by mail-lf0-x22e.google.com with SMTP id t81so22265247lfe.0 for ; Thu, 29 Sep 2016 12:53:48 -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: "Charles C. Berry" Cc: emacs-orgmode@gnu.org Hi Chuck thanks for checking. my org-version is the same release_8.3.6-1178-g2b22d5 to get the date and time of the in the results: (setq org-babel-hash-show-time t) but even without this option the results of the block are exported no matter what. could someone point to the place in the export process where the :results option is interpreted? Thomas "Charles C. Berry" writes: > On Thu, 29 Sep 2016, Thomas Alexander Gerds wrote: > >> 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. > > Using latest (release_8.3.6-1178-g2b22d5), I cannot reproduce. > > Does `org-babel-sha1-hash' (C-c C-v a with point in the src block) > really yield "<2016-09-29 08:32:48> e8e7ff..." ?? > > I get "e8e7ff..." which causes no problems. > > HTH, > > Chuck > > -- Thomas A. Gerds -- Department of Biostatistics Copenhagen University of Copenhagen, Oester Farimagsgade 5, 1014 Copenhagen, Denmark