From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Batch processing part of a file Date: Fri, 24 Aug 2012 13:04:09 +0200 Message-ID: <87y5l45z6e.fsf@slate.zedat.fu-berlin.de> References: <87y5l8aclj.fsf@slate.zedat.fu-berlin.de> <27806.1345552576@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4rgh-0004dH-R2 for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 07:04:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4rgb-0006uL-TC for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 07:04:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:57203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4rgb-0006tw-MO for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 07:04:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T4rgb-0005rH-6m for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 13:04:21 +0200 Received: from slate.zedat.fu-berlin.de ([160.45.11.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Aug 2012 13:04:21 +0200 Received: from loris.bennett by slate.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Aug 2012 13:04:21 +0200 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: 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 When I run org-babel-goto-named-src-block interactively, tab-completion offers me the name of the block I'm interested in, but when I select it, I get ,------------------------------------------------------------ | source-code block 'mem-usage-hist' not found in this buffer `------------------------------------------------------------ Is this a bug? I'm on emacs23 with Org 7.8.11. Cheers Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de