Re: [O] Problem (bug?) evaluating octave code ("function name does not agree with file name)

2015-08-18 Thread Tomas Grigera
Thanks Eric, My workaround was to use :session, though not completely satisfactory (I need to clean up the output). Your comment made me notice 1. octave reports the problem filename as empty 2. the undefined function call happens at 'line 1', which would not be the case if the whole code block

Re: [O] Problem (bug?) evaluating octave code ("function name does not agree with file name)

2015-08-18 Thread Eric S Fraga
On Tuesday, 18 Aug 2015 at 10:42, Tomas Grigera wrote: > Hello list, > > I am a very happy user of orgmode and babel. I recently picked up a > document from last year, and found that code blocks that used to > evaluate fine now don't. A code block like this [...] > There has been some change, o

[O] Problem (bug?) evaluating octave code ("function name does not agree with file name)

2015-08-18 Thread Tomas Grigera
Hello list, I am a very happy user of orgmode and babel. I recently picked up a document from last year, and found that code blocks that used to evaluate fine now don't. A code block like this #+BEGIN_SRC octave 1; function y=dup(x) y=2*x; end dup(2) #+END_SRC fails with : warning: functio