Nick Dokos writes: > Loris Bennett <loris.benn...@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