From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: Bug? org-export-babel-evaluate setting breaks :exports results
Date: Thu, 29 Sep 2016 13:23:50 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.2.02.1609291241390.2622@shell.miskatonic.org> (raw)
I'm working on a big Org file on a slow machine, so I set
org-export-babel-evaluate to nil so exporting to PDF just generates the file
from what's in the buffer, without doing any calculating.
I have a mix of source blocks, and all of a sudden the code began to appear in
the PDF when all I wanted were the results. I boiled it down to the example
below. If you save that to a file, load it, ~C-c C-e l o RET~ to export to PDF,
you will see the ls command and the output, even though the setting is ":exports
results".
Now delete the org-export-babel-evaluate line, ~C-x C-v RET~ to reload the
file and pick up the new setting, then export to PDF. You will not see the ls
command, just the output.
###### BEGIN
# -*- org-export-babel-evaluate: nil -*-
#+BEGIN_SRC shell :results value :exports results
ls /etc | wc -l
#+END_SRC
#+RESULTS:
: 307
###### END
I'm not sure what's happening, but it seems like a bug.
(This is on Emacs 25.2.50.2 with Org compiled from source today, up to
Nicolas's 2b22d503e1ee83f3a2681964f9de8405438a6385 commit yesterday).
Bill
--
William Denton :: Toronto, Canada :: https://www.miskatonic.org/
Caveat lector.
next reply other threads:[~2016-09-29 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-29 17:23 William Denton [this message]
2016-09-29 20:34 ` Bug? org-export-babel-evaluate setting breaks :exports results Charles C. Berry
2016-10-01 19:10 ` Grant Rettke
2016-10-04 1:22 ` William Denton
2016-10-04 2:49 ` Grant Rettke
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=alpine.DEB.2.02.1609291241390.2622@shell.miskatonic.org \
--to=wtd@pobox.com \
--cc=emacs-orgmode@gnu.org \
/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.