Juan <pech...@computer.org> writes:

> Hi,
>
> I'm starting to work with ob-octave and found several problems:

Hi Juan,

Thanks very much. I've applied your patch with one minor change:

(format "%s" (or var "nil"))

However, is there a better way to receive an elisp nil value in octave?

> I'm not working with sessions, so I have not yet tested the original
> problem reported with 'org_babel_eoe' showing up as result.

Sorry to pursue you for more help, but that problem is not limited to
sessions. A very simple demonstration of it is

#+begin_src octave
x = 5
x
#+end_src

#+results:
: /usr/share/octave/packages/3.2

This happens because neither of these two lines of code alter the value
of 'ans' (I presume the value we are seeing is something from octave's
start-up sequence).

Contrast this with

#+begin_src octave
x = 5
x+0
#+end_src

#+results:
: 5.00000000e+00

Any idea of the best way forward?

Dan

>
> Regards,
> .j.
>
>
>
> On Sun, Aug 01, 2010 at 02:18:40PM -0400, Dan Davison wrote:
>> Eric S Fraga <ucec...@ucl.ac.uk> writes:
>> > On Fri, 23 Jul 2010 16:59:43 +0000 (UTC), d.tchin <d.tc...@voila.fr> wrote:
>> >> I have problem to get output back in org mode file.
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to