maxima-5.29.* and imaxima



   >From mailnull  Tue Jan  1 19:47:12 2013
   From: Robert Dodier <robert.dodier at gmail.com>
   Date: Tue, 1 Jan 2013 19:46:27 +0000
   Content-Type: text/plain; charset="us-ascii"

   Volker van Nek <volkervannek <at> gmail.com> writes:

   > I wonder whether it is possible to load imaxima with the option to use
   > an older installed version of Maxima, like it is possisible to call a
   > desired version of Maxima with e.g.
   > 
   > maxima -l ecl -u 5.28.0
   > 
   > in a terminal. Is it? Or is there a imaxima config file which allows the same?

   As far as I can tell, the only way to specify the Maxima
   executable for imaxima is to change the value of
   imaxima-maxima-program in imaxima.el. I don't see a way
   to specify that on a command line, in ~/.emacs, or in Emacs itself.
   Maybe someone else knows better. 

You want to set imaxima-maxima-options, I think. This can be done via
M-x customize-variable or you can use elisp's dynamic scope and rebind
it inside a special command:

(defun imaxima-old-maxima ()
 (interactive)
 (let ((imaxima-maxima-options (format "%s -l ecl -u 5.28.0" imaxima-maxima-options)))
   (imaxima)))