From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Minshall Subject: odd behavior for begin_src org :results Date: Wed, 01 May 2013 15:08:28 -0400 Message-ID: <18696.1367435308@greg-minshalls-mbp.local> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXcOS-0005ET-Fv for emacs-orgmode@gnu.org; Wed, 01 May 2013 15:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXcOE-00071l-0y for emacs-orgmode@gnu.org; Wed, 01 May 2013 15:08:44 -0400 Received: from relay03.pair.com ([209.68.5.17]:4806) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UXcOD-00071X-NJ for emacs-orgmode@gnu.org; Wed, 01 May 2013 15:08:29 -0400 Received: from greg-minshalls-mbp.local (localhost [127.0.0.1]) by gregair.cliq.com (Postfix) with ESMTP id 5AA2C1142DE25 for ; Wed, 1 May 2013 15:08:28 -0400 (EDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Org-mode version 8.0.1 (release_8.0.1-42-g267cbe @ /Users/minshall/usr/share/emacs/site-lisp/org/) hi. the following produces #+RESULTS: ---- #+begin_src org :results replace hello #+end_src ---- but, repeated evaluations seem to grow the list of results. e.g., after four evaluations: ---- #+RESULTS: hello hello hello hello ---- the following does not produce #+RESULTS at all: ---- #+begin_src org hello #+end_src ---- is this intended behavior? the code thinks so; ob-org.el has: ---- (defvar org-babel-default-header-args:org '((:results . "raw silent") (:exports . "code")) "Default arguments for evaluating a org source block.") ---- otoh, the manual thinks ":results replace" should be the default: ---- * 'replace' The default value. Any existing results will be removed, and the new results will be inserted into the Org mode buffer in their place. E.g., ':results output replace'. ---- cheers, Greg