From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: Batch processing part of a file Date: Wed, 22 Aug 2012 23:11:41 +0100 Message-ID: <874nnua86a.fsf@ed.ac.uk> References: <87y5l8aclj.fsf@slate.zedat.fu-berlin.de>, , <27806.1345552576@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4J2X-0006KA-EF for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 18:04:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4J2W-0004NW-6N for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 18:04:41 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:54199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4J2W-0004NC-04 for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 18:04:40 -0400 Received: by wgbez12 with SMTP id ez12so44703wgb.30 for ; Wed, 22 Aug 2012 15:04:39 -0700 (PDT) In-reply-to: <27806.1345552576@alphaville> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Loris Bennett Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Loris Bennett 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