-orgmode@gnu.org
Subject: Re: [Orgmode] RE: [babel] evaluating shell commands for side effect
good question: code blocks in sessions *are evaluated* even if the
results of that particular block are not needed for export. This is
because those code blocks could make changes to session state, changes
good question: code blocks in sessions *are evaluated* even if the
results of that particular block are not needed for export. This is
because those code blocks could make changes to session state, changes
which could be required for other code blocks whose results will be
included in the final ex
I meant "whenever I want to _export_ the code" (C-c C-e h).
-- Greg
--
Greg Sullivan, gregory.sulli...@baesystems.com
(781)262-4553 (desk), (978)430-3461 (cell)
-Original Message-
From: Sullivan, Gregory (US SSA)
Sent: Friday, August 20, 2010 7:37 PM
To: Sullivan, Gregory (US SSA);
Another question related to using babel, shell commands, in a session:
When I try to export a .org file with "begin_src sh :session *shell* :exports
code" blocks, I'm prompted whether I want to evaluate the code. However, I
thought ":exports code" would avoid evaluation on export (and that :ses