On Fri, Jul 11, 2008 at 9:40 AM, Daniel Stegmueller <<a href="mailto:d.stegmueller@gmail.com">d.stegmueller@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
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:<br>
<br>
Maxima encountered a Lisp error:<br>
<br>
 LOAD: A file with name /Users/dstegmue/Library/Application does not exist<br>
<br>
Automatically continuing.<br>
To reenable the Lisp debugger set *debugger-hook* to nil.<br>
<br>
*** - THROW: there is no CATCHer for tag RETURN-FROM-DEBUGGER<br>
Break 1 [1]><br>
<br>
<br>
Maxima itself (5.15.0 installed via Fink) is working.<br>
<br>
Any more suggestions?<br>
</blockquote><div><br>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.<br>
<br>--Nathaniel<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Yasuaki,<br><br>I've just tried out your excellent <span class="nfakPe">imaxima</span>.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:<br><br><div style="margin-left: 40px;">Maxima encountered a Lisp error:<br><br> Error during processing of --eval option "(cl-user::run)":<br>
<br>  error opening #P"/Users/nathaniel/Library/Application":<br>
    No such file or directory<br><br></div>I dug around in <span class="nfakPe">imaxima</span>.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 <span class="nfakPe">imaxima</span>.el tolerant of spaces in this path by default?  Below is the diff of my change.<br><br>Cheers,<br>Nathaniel<br><br>*** /Users/nathaniel/downloads/<div id="1eqg" class="ArwC7c ckChnd">
aquamacs/<span class="nfakPe">imaxima</span>-imath-0.99/<span class="nfakPe">imaxima</span>.el    2008-01-05 10:20:26 -0600<br>--- /Users/nathaniel/Library/Application Support/Aquamacs Emacs/<span class="nfakPe">imaxima</span>/<span class="nfakPe">imaxima</span>.el    2008-04-16 23:19:15 -0500<br>

***************<br>*** 1074,1081 ****<br>            "<span class="nfakPe">imaxima</span>"<br>            <span class="nfakPe">imaxima</span>-maxima-program<br>            nil<br>!           (split-string<br>             <span class="nfakPe">imaxima</span>-maxima-options))))<br>
      (save-excursion<br>
        (set-buffer mbuf)<br>--- 1074,1082 ----<br>            "<span class="nfakPe">imaxima</span>"<br>            <span class="nfakPe">imaxima</span>-maxima-program<br>            nil<br>! ;;           (split-string<br>
!           (list<br>             <span class="nfakPe">imaxima</span>-maxima-options))))<br>
      (save-excursion<br>        (set-buffer mbuf)</div> </blockquote>

</div></div><br>