From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: "header-args :eval inline-only" not working Date: Sun, 20 Aug 2017 08:56:28 +0530 Message-ID: <0B21A5BE-80FE-4B83-970B-84C32270BCA3@agrarianresearch.org> References: <87fucnjr3h.fsf@nicolasgoaziou.fr> <672780F6-F156-4D48-8774-3E449FF4EA5B@agrarianresearch.org> <40F87DC3-9AF2-43D4-9E9D-11826219EA79@agrarianresearch.org> <06F7619D-A294-4AAE-89BA-DB9FC17FEDC2@ucsd.edu> <7B90B949-C235-4F16-A2E5-4A22EB850DBC@agrarianresearch.org> <101B0AF0-A5B4-4FE0-B0B7-192B04B99F3D@ucsd.edu> Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_B7E099DA-25FB-4F9D-BCB8-38F5AB37242B" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djGsn-0001c3-V9 for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 23:26:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djGsk-0000ir-22 for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 23:26:37 -0400 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:34261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djGsj-0000ih-Lz for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 23:26:33 -0400 Received: by mail-pg0-x244.google.com with SMTP id i12so4072753pgr.1 for ; Sat, 19 Aug 2017 20:26:33 -0700 (PDT) In-Reply-To: <101B0AF0-A5B4-4FE0-B0B7-192B04B99F3D@ucsd.edu> 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: "Berry, Charles" Cc: org-mode mailing list , Nicolas Goaziou --Apple-Mail=_B7E099DA-25FB-4F9D-BCB8-38F5AB37242B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 >>=20 >> I don=E2=80=99t see org-export-use-babel in available options. I = cannot customise it. >>=20 >> '(org-export-use-babel (quote inline-only)) >>=20 >> Seems to have no effect. Is that so because, as you say later, users = are not supposed to touch this option? >=20 > No. You must have an older version of org than >=20 > commit 3b5ce449c4b16291ad56e23d5be1e480e57d906f > Author: Charles Berry > > Date: Sat Nov 12 18:54:20 2016 -0800 >=20 > Replace `org-export-babel-evaluate' with `org-export-use-babel' >=20 > Did you try `C-h v org-export-use-babel RET', click `customize', etc? I am on the latest version on org mode ELPA. It is dated August 18, = 2017, so should include the commit you mention. > C-h v org-export-use-babel RET=E2=80=99 Does not work (there is no such variable). > Try >=20 > #+PROPERTY: header-args :eval never-export >=20 > and don't forget C-c C-c to update when you add this. But this would prevent exporting all code blocks including inline = blocks. Isn=E2=80=99t it? There seems no way of separately controlling inline and other blocks. I guess I have to live with that. Vikas --Apple-Mail=_B7E099DA-25FB-4F9D-BCB8-38F5AB37242B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

I don=E2=80=99t= see org-export-use-babel in available options. I cannot customise = it.

'(org-export-use-babel (quote = inline-only))

Seems to have no effect. Is = that so because, as you say later, users are not supposed to touch this = option?

No.  You must have an older version = of org than

commit = 3b5ce449c4b16291ad56e23d5be1e480e57d906f
Author: Charles Berry <ccberry@ucsd.edu>
Date:   Sat Nov 12 18:54:20 = 2016 -0800

   Replace `org-export-babel-evaluate' with = `org-export-use-babel'

Did you try `C-h v org-export-use-babel RET', = click `customize', etc?

I am on the = latest version on org mode ELPA. It is dated August 18, 2017, so should = include the commit you mention.

C-h v = org-export-use-babel RET=E2=80=99

Does not work (there is no such = variable).

Try

#+PROPERTY: header-args :eval = never-export

and don't forget = C-c C-c to update when you add this.

But = this would prevent exporting all code blocks including inline = blocks.

Isn=E2=80=99t = it?

There seems no way of separately = controlling inline and other blocks.

I= guess I have to live with that.

Vikas

= --Apple-Mail=_B7E099DA-25FB-4F9D-BCB8-38F5AB37242B--