[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-recutils] org-babel-execute-buffer returns "Beginning of buffer

From: Charles Millar
Subject: Re: [bug-recutils] org-babel-execute-buffer returns "Beginning of buffer" if no record found
Date: Sun, 14 Jun 2015 07:55:50 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

I forgot to mention that I am running this on Linux Mint, Mate,

recutils 1.7,

Org-mode version 8.3beta (release_8.3beta-1218-gd3196f @ /usr/share/emacs/site-lisp/org-mode/lisp/)

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian

On 06/14/2015 07:46 AM, Charles Millar wrote:

I am cross posting to these two lists rather than the org-mode list in case this is an issue particular to ob-rec.el rather than in ob-core.el

I am setting up a template for my .rec files, such as

#+begin_src rec :data Foo.rec :type Finance :fields bar,baz,etc
 AccountSchedule = "A"


#+begin_src rec :data Foo.rec :type Finance :fields bar,baz,etc
 AccountSchedule = "B"


#+begin_src rec :data Foo.rec :type Finance :fields bar,baz,etc
 AccountSchedule = "C"


#+begin_src rec :data Foo.rec :type Finance :fields bar,baz,etc
 AccountSchedule = "D"


and I want to execute all the source blocks by running org-babel-execute-buffer.

My problem for instance is, "Foo.rec, type Finance" may not have any records with an AccountSchedule=C. The source blocks for AccountSchedule=A and AccountSchedule=B, execute perfectly, but everything stops at AccountSchedule=C since at the moment, and possibly never, there are no records with a field entered as "AccountSchedule: C". I receive a message "Beginning of buffer" after I confirm execution of the SCHEDC src block, and execution of the block ceases.

I would rather execute the buffer rather than C-c C-c each src block (there are about fifteen in the template).

Is there a fix so that execution will continue to the end even though no record is found that matches the SEX within the src block buffer?

Charlie Millar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]