From: Greg Minshall <minshall@umich.edu>
To: emacs-orgmode@gnu.org
Subject: odd behavior for begin_src org :results
Date: Wed, 01 May 2013 15:08:28 -0400 [thread overview]
Message-ID: <18696.1367435308@greg-minshalls-mbp.local> (raw)
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
next reply other threads:[~2013-05-01 19:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-01 19:08 Greg Minshall [this message]
2013-05-01 20:01 ` odd behavior for begin_src org :results Eric Schulte
2013-05-01 21:57 ` Greg Minshall
2013-05-03 7:46 ` Sebastien Vauban
2013-05-03 15:53 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18696.1367435308@greg-minshalls-mbp.local \
--to=minshall@umich.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).