From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SsOpcsOpbWllIEp1c3Rl?= Subject: Re: Default silent results Date: Mon, 13 Mar 2017 16:39:41 +0100 Message-ID: References: <87zigpchxv.fsf@iki.fi> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07ec364f395d054a9e86c6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnS4r-000718-IY for emacs-orgmode@gnu.org; Mon, 13 Mar 2017 11:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnS4q-000844-FD for emacs-orgmode@gnu.org; Mon, 13 Mar 2017 11:40:05 -0400 Received: from mail-yw0-x231.google.com ([2607:f8b0:4002:c05::231]:36088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cnS4q-00083a-B3 for emacs-orgmode@gnu.org; Mon, 13 Mar 2017 11:40:04 -0400 Received: by mail-yw0-x231.google.com with SMTP id o4so61451445ywd.3 for ; Mon, 13 Mar 2017 08:40:02 -0700 (PDT) In-Reply-To: <87zigpchxv.fsf@iki.fi> 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: Jarmo Hurri Cc: emacs-org list --94eb2c07ec364f395d054a9e86c6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 =E2=80=98ob-org.= el=E2=80=99. Its value is ((:results . "raw silent") (:exports . "code")) Best regards Jeremie On Mon, Mar 13, 2017 at 4:30 PM, Jarmo Hurri 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() > > > --=20 J=C3=A9r=C3=A9mie Juste --94eb2c07ec364f395d054a9e86c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello

you can tweek the default behaviour=C2=A0 usi= ng=C2=A0 org-babel-default-header-args:org variable

My default confi= guration for org is the following. I did not modify it.

org-babel-de= fault-header-args:org is a variable defined in =E2=80=98ob-org.el=E2=80=99.=
Its value is ((:results . "raw silent") (:exports . "cod= e"))


Best regards

Jeremie

On Mon, Mar 13, 2017 at 4:30 PM, J= armo 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
=C2=A0 A simple code block.
=C2=A0 #+name: org-block
=C2=A0 #+BEGIN_SRC org
=C2=A0 | foo | bar |
=C2=A0 |-----+-----|
=C2=A0 |=C2=A0 =C2=A01 |=C2=A0 =C2=A02 |
=C2=A0 #+END_SRC

=C2=A0 A silent call produces no results as expected.
=C2=A0 #+call: org-block() :results silent

=C2=A0 This produces results as expected.
=C2=A0 #+call: org-block() :results replace

=C2=A0 #+RESULTS:
=C2=A0 | foo | bar |
=C2=A0 |-----+-----|
=C2=A0 |=C2=A0 =C2=A01 |=C2=A0 =C2=A02 |

=C2=A0 But this also behaves like silent, while the manual says that the =C2=A0 default is "replace."
=C2=A0 #+call: org-block()





--
J=C3=A9r=C3=A9mie Juste
--94eb2c07ec364f395d054a9e86c6--