* interaction of =org-export-babel-evaluate= and =results output= counter-intuitive
@ 2017-08-15 12:25 George Jones
2017-08-15 16:18 ` Berry, Charles
0 siblings, 1 reply; 2+ messages in thread
From: George Jones @ 2017-08-15 12:25 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
__________________________________________________
INTERACTION OF `ORG-EXPORT-BABEL-EVALUATE' AND
`RESULTS OUTPUT' COUNTER-INTUITIVE
George Jones
__________________________________________________
<2017-08-15 Tue 08:23>
I want to define code blocks that export only results, and are not
automatically executed on export. To get this behavior, I have to
- `setq org-export-babel-evaluate t)'
and use both
,----
| :eval never-export
| :results output
`----
Which seems a little counter-intuitive. The problem is that headers
(includiing `:results output') are ignored when
`org-export-babel-evaluate' is set.
Perhaps this headers (at least) should be honored when
`org-export-babel-evaluate' is set?
Is there a way to make `eval never-export' the default?
[-- Attachment #2: Type: text/html, Size: 1455 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: interaction of =org-export-babel-evaluate= and =results output= counter-intuitive
2017-08-15 12:25 interaction of =org-export-babel-evaluate= and =results output= counter-intuitive George Jones
@ 2017-08-15 16:18 ` Berry, Charles
0 siblings, 0 replies; 2+ messages in thread
From: Berry, Charles @ 2017-08-15 16:18 UTC (permalink / raw)
To: gmj@pobox.com; +Cc: emacs-orgmode@gnu.org
> On Aug 15, 2017, at 5:25 AM, George Jones <eludom@gmail.com> wrote:
>
> __________________________________________________
>
[snip]
> I want to define code blocks that export only results, and are not
> automatically executed on export. To get this behavior, I have to
>
> - `setq org-export-babel-evaluate t)'
>
> and use both
>
> ,----
> | :eval never-export
> | :results output
> `----
>
You also need `:exports results'.
HTH,
Chuck
p.s. `org-export-babel-evaluate' is obsolete - use ‘org-export-use-babel’ instead
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-15 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-15 12:25 interaction of =org-export-babel-evaluate= and =results output= counter-intuitive George Jones
2017-08-15 16:18 ` Berry, Charles
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).