From: "Sean O'Halpin" <sean.ohalpin@gmail.com>
To: skip <scp0801@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: babel print
Date: Wed, 22 Aug 2012 23:55:51 +0100 [thread overview]
Message-ID: <CAOXM+eWj+FBnXB_mHTA8EUG+8BaUbFzVXW2KnhcdZ_eiZR=NZA@mail.gmail.com> (raw)
In-Reply-To: <CAAWz9dQ-epyaH_XNytM+Dh+=wUU_=rxYaRi=X3OEQxvhXV8hBw@mail.gmail.com>
On Wed, Aug 22, 2012 at 8:38 PM, skip <scp0801@gmail.com> wrote:
> I have an org file with several src blocks and tangle blocks.
>
> How can I print the file without executing any of the src or tangle
> blocks? I want to avoid disabling each block.
Use
#+PROPERTY: eval never
at the head of the file and C-c on that line to refresh the local setup.
This disables execution for all blocks in the file. Alternatively, you can use
#+PROPERTY: eval no-export
to disable it only for exporting.
See http://orgmode.org/org.html#eval for details.
> How can I generate the tangle files only without executing any other
> src blocks in the file? I want to avoid going to each tangle block and
> executing.
=M-x org-babel-tangle= should tangle all the blocks in the file.
See http://orgmode.org/org.html#Extracting-source-code
Regards,
Sean
prev parent reply other threads:[~2012-08-22 22:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 19:38 babel print skip
2012-08-22 22:55 ` Sean O'Halpin [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOXM+eWj+FBnXB_mHTA8EUG+8BaUbFzVXW2KnhcdZ_eiZR=NZA@mail.gmail.com' \
--to=sean.ohalpin@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=scp0801@gmail.com \
/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 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).