From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: "Berry, Charles" <ccberry@ucsd.edu>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>,
Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: "header-args :eval inline-only" not working
Date: Sun, 20 Aug 2017 07:54:56 +0530 [thread overview]
Message-ID: <7B90B949-C235-4F16-A2E5-4A22EB850DBC@agrarianresearch.org> (raw)
In-Reply-To: <06F7619D-A294-4AAE-89BA-DB9FC17FEDC2@ucsd.edu>
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
>
> There is a bug in the documentation -- `org-export-babel-evaluate' is obsolete. It should say `org-export-use-babel’.
I don’t 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?
> But that part of the manual is irrelevant to what the `:eval' header does. There is no `inline-only' value in either the documentation or in the lisp code. So, `inline-only' acts like `yes' for the reason I stated earlier.
>
>
>> With current org, I get this behaviour only if I globally set the option. But that somehow disables ":results”.
>>
>
> Right. `:results' is a babel header. When babel is off, the babel headers are not acted upon.
>
> Setting `org-export-use-babel' to `nil' or `inline-only' turns off babel for src blocks.
>
>
> The behavior was purposely changed. With `inline-only' none of the babel operations will be executed for src blocks -- i.e. the src blocks and existing results (if any) will be exported as is.
>
> Users should avoid touching `org-export-use-babel' for almost all purposes. It does not do the equivalent of setting `:eval' globally.
>
I just saw this thread: https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00443.html <https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00443.html>
I certainly feel that the current behaviour is a regression. The user should have the possibility of controlling globally or buffer-wide whether the source codes are evaluated at the time of export or not. org-export-use-babel does not do that. It turns off babel completely, exporting codes and existing results as is.
This is clearly a regression as far as my use case is concerned.
Vikas
[-- Attachment #2: Type: text/html, Size: 2970 bytes --]
next prev parent reply other threads:[~2017-08-20 2:25 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 [this message]
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
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=7B90B949-C235-4F16-A2E5-4A22EB850DBC@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.