emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Myles English <mylesenglish@gmail.com>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Batch processing part of a file
Date: Wed, 22 Aug 2012 23:11:41 +0100	[thread overview]
Message-ID: <874nnua86a.fsf@ed.ac.uk> (raw)
In-Reply-To: <27806.1345552576@alphaville>


Nick Dokos writes:

> Loris Bennett <loris.bennett@fu-berlin.de> wrote:
>
>> Dear List,
>> 
>> I have an orgmode file for collecting data and producing a plot.  The
>> file contains a Perl script which runs on a remote machine and generates
>> Graphviz input.  This is then used to create a PDF file.
>> 
>> I have had a look at
>> 
>>   http://orgmode.org/manual/Batch-execution.html
>> 
>> but it is not clear to me how I would navigate to the right part of the
>> file so that I could then call org-babel-execute-src-block.
>> 
>> Can anyone help?
>> 
>
> Haven't tested it but this should work: make sure that the code block is
> named and then use org-babel-goto-named-src-block.
>
> Nick

Or if you want to goto a heading first see this thread:

http://lists.gnu.org/archive/html/emacs-orgmode/2012-05/msg00421.html


Myles

  reply	other threads:[~2012-08-22 22:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21  8:11 Batch processing part of a file Loris Bennett
2012-08-21 12:36 ` Nick Dokos
2012-08-22 22:11   ` Myles English [this message]
2012-08-24 11:04   ` Loris Bennett
2012-08-29  9:57     ` Loris Bennett
2012-08-29 15:27       ` Nicolas Girard
2012-08-30  7:03         ` Bastien
2012-08-30 16:49           ` Nicolas Girard

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=874nnua86a.fsf@ed.ac.uk \
    --to=mylesenglish@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /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).