From: "Jérémie Juste" <jeremiejuste@gmail.com>
To: Jarmo Hurri <jarmo.hurri@iki.fi>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Default silent results
Date: Mon, 13 Mar 2017 16:39:41 +0100 [thread overview]
Message-ID: <CAPHJcdAHw=UgNAmMj5_66MaLOC+Uza1gtX_qVbf-0M4UG7r1KQ@mail.gmail.com> (raw)
In-Reply-To: <87zigpchxv.fsf@iki.fi>
[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]
Hello
you can tweek the default behaviour using
org-babel-default-header-args:org variable
My default configuration for org is the following. I did not modify it.
org-babel-default-header-args:org is a variable defined in ‘ob-org.el’.
Its value is ((:results . "raw silent") (:exports . "code"))
Best regards
Jeremie
On Mon, Mar 13, 2017 at 4:30 PM, Jarmo Hurri <jarmo.hurri@iki.fi> wrote:
>
> Greetings.
>
> An old org-code of mine stopped working, and while trying to fix it I
> bumped into the following. What am I missing here?
>
> Jarmo
>
> * test
> A simple code block.
> #+name: org-block
> #+BEGIN_SRC org
> | foo | bar |
> |-----+-----|
> | 1 | 2 |
> #+END_SRC
>
> A silent call produces no results as expected.
> #+call: org-block() :results silent
>
> This produces results as expected.
> #+call: org-block() :results replace
>
> #+RESULTS:
> | foo | bar |
> |-----+-----|
> | 1 | 2 |
>
> But this also behaves like silent, while the manual says that the
> default is "replace."
> #+call: org-block()
>
>
>
--
Jérémie Juste
[-- Attachment #2: Type: text/html, Size: 1686 bytes --]
next prev parent reply other threads:[~2017-03-13 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 15:30 Default silent results Jarmo Hurri
2017-03-13 15:39 ` Jérémie Juste [this message]
2017-03-13 15:46 ` Jarmo Hurri
2017-03-13 17:29 ` Nick Dokos
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='CAPHJcdAHw=UgNAmMj5_66MaLOC+Uza1gtX_qVbf-0M4UG7r1KQ@mail.gmail.com' \
--to=jeremiejuste@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jarmo.hurri@iki.fi \
/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).