emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Default silent results
Date: Mon, 13 Mar 2017 13:29:00 -0400	[thread overview]
Message-ID: <87lgs9m6g3.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 87y3w9dvrw.fsf@iki.fi

Jarmo Hurri <jarmo.hurri@iki.fi> writes:

> Jérémie Juste <jeremiejuste@gmail.com> writes:
>
> Greetings.
>
>> 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"))
>
> So the default value is really language dependent, not always "replace"
> as the manual suggested. Ok, that explains it. Thanks!
>

I wonder if that's intended behavior though: what's the reason for org
blocks to have non-default behavior?

Most languages set org-babel-default-header-args:<LANG> to '(),
although some do non-trivial stuff (abc, asymptote, ditaa, dot,
gnuplot, mscgen, plantuml all set :results to file e.g.), but it's not
clear to me why org sets it to "raw silent".

--
Nick

      reply	other threads:[~2017-03-13 17:31 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
2017-03-13 15:46   ` Jarmo Hurri
2017-03-13 17:29     ` Nick Dokos [this message]

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=87lgs9m6g3.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --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).