From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neuwirth Erich Subject: babel for maxima Date: Sun, 25 Mar 2012 15:16:03 +0200 Message-ID: <18D32FCB-CF4E-499A-86C7-575F777666B3@univie.ac.at> Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBnIn-00020d-3O for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 09:16:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBnIl-0001Ws-4f for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 09:16:08 -0400 Received: from grace.univie.ac.at ([131.130.3.115]:35105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBnIk-0001Wj-Q8 for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 09:16:07 -0400 Received: from jarvis.univie.ac.at ([131.130.3.112] helo=jarvis.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.77) (envelope-from ) id 1SBnIi-0007MH-5q for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 15:16:04 +0200 Received: from 188-23-78-244.adsl.highway.telekom.at ([188.23.78.244] helo=[10.0.0.4]) by jarvis.univie.ac.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SBnIi-0007yb-3H for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 15:16:04 +0200 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: emacs-orgmode@gnu.org I have a suggestion for the maxima mode in org-babel. I am using Emacs on a Mac which means that some hint work differently. The standard distribution of Maxima for the mac does not have a command = 'maxima' anywhere on the path. The way to start character mode maxima from a shell is using /Applications/Maxima.App/Contents/Resources/maxima.sh Maxima itself brings an emacs mode with the standard distribution, and in maxima mode for Emacs he maxima command can be configured by using (setq maxima-command = "/Applications/Maxima.app/Contents/Resources/maxima.sh") in .emacs So it makes sense that maxima mode in org does (require 'maxima) and then uses maxima-command when it defines the function (defun org-babel-execute:maxima I hope this is a reasonable suggestion.