From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>,
"Berry, Charles" <ccberry@ucsd.edu>
Subject: Re: "header-args :eval inline-only" not working
Date: Sun, 20 Aug 2017 18:11:01 +0530 [thread overview]
Message-ID: <0F522BB0-5BA9-4513-B90F-5E8E35D3C923@agrarianresearch.org> (raw)
In-Reply-To: <87inhiilor.fsf@nicolasgoaziou.fr>
>
>> I am on the latest version on org mode ELPA. It is dated August 18,
>> 2017, so should include the commit you mention.
>
> `org-export-use-babel' is from "master" branch. ELPA provides "maint”.
Got it.
>> But this would prevent exporting all code blocks including inline blocks.
>>
>> Isn’t it?
>>
>> There seems no way of separately controlling inline and other blocks.
>
> There is. You put :eval never-export on all src blocks and :eval t on
> inline code. Note, however, that inline code might call indirectly src
> blocks, so this can lead to odd situations.
>
> What you are missing, probably, is some way to set this globally.
Right.
> Alas,
> `org-export-use-babel' or `org-export-babel-evaluate' is not the answer.
> As suggested in the thread you mentioned earlier, we might as well get
> rid of `org-export-use-babel' altogether. It seems to confuse many users
> and isn't very useful.
>
> WDYT?
>
I see no use for org-export-use-babel. But I can only speak for myself here.
In my own case, the src blocks are all R, and inline code is emacs-lisp. So, I can use "header-args:R :eval never-export” to turn off evaluation of R code at export time.
Vikas
next prev parent reply other threads:[~2017-08-20 13:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-19 16:36 "header-args :eval inline-only" not working Vikas Rawal
2017-08-19 19:27 ` Nicolas Goaziou
2017-08-19 20:36 ` Vikas Rawal
2017-08-19 22:10 ` Berry, Charles
2017-08-20 1:10 ` Vikas Rawal
2017-08-20 2:07 ` Berry, Charles
2017-08-20 2:24 ` Vikas Rawal
2017-08-20 2:43 ` Berry, Charles
2017-08-20 3:26 ` Vikas Rawal
2017-08-20 10:21 ` Nicolas Goaziou
2017-08-20 12:41 ` Vikas Rawal [this message]
2017-08-20 16:51 ` Berry, Charles
2017-08-26 8:34 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0F522BB0-5BA9-4513-B90F-5E8E35D3C923@agrarianresearch.org \
--to=vikaslists@agrarianresearch.org \
--cc=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.