From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [BABEL] Output with octave + [PATCH] x2 Date: Sun, 01 Aug 2010 18:19:30 -0400 Message-ID: <87hbje2cy5.fsf@stats.ox.ac.uk> References: <87iq45x06e.wl%ucecesf@ucl.ac.uk> <871vai42nz.fsf@stats.ox.ac.uk> <20100801200727.GT5569@soloJazz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=47669 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofgsj-0008Ox-82 for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 18:19:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ofgsg-0003Oz-OB for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 18:19:44 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:34076) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofgsg-0003Of-HI for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 18:19:42 -0400 In-Reply-To: <20100801200727.GT5569@soloJazz.com> (Juan's message of "Sun, 1 Aug 2010 17:07:27 -0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Juan Cc: emacs-orgmode@gnu.org, "d.tchin" Juan 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 writes: >> > On Fri, 23 Jul 2010 16:59:43 +0000 (UTC), d.tchin 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