[OS X Emacs] Installing imaxima in Aquamacs
Daniel Stegmueller
d.stegmueller at gmail.com
Fri Jul 11 12:48:57 EDT 2008
That did it.
Thanks a lot!
Daniel
On 11 Jul 2008, at 15:50, Nathaniel Cunningham wrote:
> On Fri, Jul 11, 2008 at 9:40 AM, Daniel Stegmueller <d.stegmueller at gmail.com
> > wrote:
>
> I put the imaxima files in the same directory as you did (breqn is
> already installed on my system) but Aquamacs greets me with the
> following error when i start imaxima-mode:
>
> Maxima encountered a Lisp error:
>
> LOAD: A file with name /Users/dstegmue/Library/Application does not
> exist
>
> Automatically continuing.
> To reenable the Lisp debugger set *debugger-hook* to nil.
>
> *** - THROW: there is no CATCHer for tag RETURN-FROM-DEBUGGER
> Break 1 [1]>
>
>
> Maxima itself (5.15.0 installed via Fink) is working.
>
> Any more suggestions?
>
> Sorry, I'd forgotten: there is a bug in imaxima.el which makes it
> intolerant of spaces in the path to imaxima.lisp. The error you got
> is not exactly the same as the one I encountered in the past, but
> perhaps these are different versions of imaxima.el I corrected this
> in imaxima.el and emailed the issue and fix to the imaxima
> maintainter, but I'm not sure that he's implemented the patch.
> Below is my email regarding the problem and the fix.
>
> --Nathaniel
>
> Yasuaki,
>
> I've just tried out your excellent imaxima.el with Aquamacs Emacs on
> Mac OS X. I did a manual install, and put the required files in the
> standard place for elisp packages for Aquamacs: ~/Library/
> Application Support/Aquamacs Emacs/ . This caused an error:
>
> Maxima encountered a Lisp error:
>
> Error during processing of --eval option "(cl-user::run)":
>
> error opening #P"/Users/nathaniel/Library/Application":
> No such file or directory
>
> I dug around in imaxima.el, and found that the sole option fed to
> the maxima command is `--preload-lisp=' with the path to
> maxima.lisp; for some reason, when this is defined as the argument,
> (split-string) is first applied to the path. I changed the (split-
> string) command to (list), and now it works fine. Could you make
> imaxima.el tolerant of spaces in this path by default? Below is the
> diff of my change.
>
> Cheers,
> Nathaniel
>
> *** /Users/nathaniel/downloads/
> aquamacs/imaxima-imath-0.99/imaxima.el 2008-01-05 10:20:26 -0600
> --- /Users/nathaniel/Library/Application Support/Aquamacs Emacs/
> imaxima/imaxima.el 2008-04-16 23:19:15 -0500
> ***************
> *** 1074,1081 ****
> "imaxima"
> imaxima-maxima-program
> nil
> ! (split-string
> imaxima-maxima-options))))
> (save-excursion
> (set-buffer mbuf)
> --- 1074,1082 ----
> "imaxima"
> imaxima-maxima-program
> nil
> ! ;; (split-string
> ! (list
> imaxima-maxima-options))))
> (save-excursion
> (set-buffer mbuf)
>
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
Daniel Stegmueller
Landgrafenstr. 14
60486 Frankfurt a.M.
069/24140381
d.stegmueller at gmail.com
More information about the MacOSX-Emacs
mailing list