RE: [Orgmode] RE: [babel] evaluating shell commands for side effect

2010-08-25 Thread Sullivan, Gregory (US SSA)
-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

Re: [Orgmode] RE: [babel] evaluating shell commands for side effect

2010-08-25 Thread Eric Schulte
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

[Orgmode] RE: [babel] evaluating shell commands for side effect

2010-08-20 Thread Sullivan, Gregory (US SSA)
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);

[Orgmode] RE: [babel] evaluating shell commands for side effect

2010-08-20 Thread 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