From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Problem (bug?) evaluating octave code ("function name does not agree with file name) Date: Tue, 18 Aug 2015 20:38:48 +0100 Message-ID: <87mvxol73r.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRmit-0005LT-J1 for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 15:39:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRmio-0002si-Bb for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 15:39:03 -0400 Received: from mail-am1on0146.outbound.protection.outlook.com ([157.56.112.146]:54880 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRmio-0002rc-2C for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 15:38:58 -0400 In-Reply-To: (Tomas Grigera's message of "Tue, 18 Aug 2015 10:42:11 -0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tomas Grigera Cc: emacs-orgmode 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, of which I am unaware, in the way babel > handles this block that leads to this behaviour. However, it seems to > me that it is a well-formed block and should evaluate fine. Am I > wrong? Just to confirm that you are not wrong and I ran into this a while ago now. That is, problems with functions defined in the middle of the code as opposed to functions in their own .m files. I didn't have time to figure out what was wrong at the time due to deadlines so found other ways of doing what I wanted including @(x) function definitions. The strange thing is that babel seems to not leave any code in the /tmp files it creates so I cannot see what code org babel is trying to execute. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-117-gc98729