[Top][All Lists]

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

[Orgmode] Re: [BABEL] Output with octave + [PATCH] x2

From: Dan Davison
Subject: [Orgmode] Re: [BABEL] Output with octave + [PATCH] x2
Date: Sun, 01 Aug 2010 18:19:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Juan <address@hidden> 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

: /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

: 5.00000000e+00

Any idea of the best way forward?


> Regards,
> .j.
> On Sun, Aug 01, 2010 at 02:18:40PM -0400, Dan Davison wrote:
>> Eric S Fraga <address@hidden> writes:
>> > On Fri, 23 Jul 2010 16:59:43 +0000 (UTC), d.tchin <address@hidden> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

reply via email to

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