From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [babel] Maxima code blocks do not work Date: Mon, 27 Jun 2011 15:32:02 +0100 Message-ID: <87oc1jfiql.fsf@pinto.chemeng.ucl.ac.uk> References: <4E04D24E.6080906@uni-koeln.de> <874o3bwu3c.fsf@ucl.ac.uk> <4E08761C.8040900@uni-koeln.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbCrC-0007Px-9W for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 10:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbCrA-0005cs-0V for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 10:32:09 -0400 Received: from vscani-b2.ucl.ac.uk ([144.82.108.135]:62272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbCr9-0005cN-Dm for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 10:32:07 -0400 In-Reply-To: <4E08761C.8040900@uni-koeln.de> (Bernd Weiss's message of "Mon, 27 Jun 2011 08:22:52 -0400") 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: Bernd Weiss Cc: emacs-orgmode@gnu.org Bernd Weiss writes: [...] > #+results: > : incorrect syntax: / is not a prefix operator > : incorrect syntax: aLH is not an infix operator > : incorrect syntax: hCp is not an infix operator > : incorrect syntax: Premature termination of input at $. > : Maxima encountered a Lisp error: > : parser: end of file while scanning expression. > : Automatically continuing. > : To enable the Lisp debugger set *debugger-hook* to nil. > > This message is 'related' (see lines 3 "aLH is not an infix operator" > and 4 "hCp is not an infix operator") to the following Maxima call > ("aLH/maxima-17716hCp"): > > maxima --very-quiet -r > 'batchload("c:/Users/weiss/AppData/Local/Temp/babel-17716aLH/maxima-17716hCp")$' > nil The error messages look like maxima is trying to evaluate the actual string within double quotes! > Unfortunately, my elisp knowledge is too low to understand what's going > on in ob-maxima.el. Is it a MS-Windows-thing ('/' vs '\')? Good question. Has anybody else used maxima with org babel on Windows? I don't even have such a system to try... My guess would be that the "shell" command required to invoke maxima on Windows needs to be significantly different than what we are using here (which works on Linux). Then again, I've never really used Windows (beyond starting Word on somebody else's document on somebody else's machine... ;-) so I don't have a clue what Windows expects... -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.458.g1642)