Leo <sdl.web at gmail.com> writes:
> On 2009-04-19 10:31 +0100, Rupert Swarbrick wrote:
>> ... or maybe it's not such a great challenge. I've got the following
>> elisp customisation
>>
>> (setq
>> slime-lisp-implementations
>> '((sbcl
>> ("/usr/local/bin/sbcl") :coding-system utf-8-unix)
>>
>> (maxima
>> ("sbcl"
>> "--core"
>> "/home/rupert/src/mine/maxima/src/binary-sbcl/maxima.core"))))
>>
>> (obviously you'll need to edit paths) and then you can just do C-- M-x
>> slime and type maxima. Tada.
>
> I seem to have problem with this setting. I am getting the following:
>
> (progn (load
> "/Applications/Emacs.app/Contents/Resources/site-lisp/slime/swank-loader.lisp"
> :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall
> (read-from-string "swank:start-server")
> "/var/folders/b2/b2DGafs+EpaLFYrOC7ZWR++++TQ/-Tmp-/slime.131"
> :coding-system "iso-latin-1-unix"))
>
> Maxima 5.18.1 http://maxima.sourceforge.net
> Using Lisp SBCL 1.0.25
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> (%i1) Incorrect syntax:
> /Applications/Emacs.app/Contents/Resources/site-lisp/slime/swank-loader.lisp
> is not an infix operator
> (%i1) Incorrect syntax: : is not a prefix operator
<snip>
> SLIME was unable to connect to swank server. Minibuffer has this message
> constantly:
>
> Polling "/var/folders/b2/b2DGafs+EpaLFYrOC7ZWR++++TQ/-Tmp-/slime.131"..
> (Abort with `M-x slime-abort-connection'.) [187 times]
>
> I guess the maxima swank backend is still missing.
>
> Do you see this in your set up?
No, I don't see this. I was worried that I'd forgotten some
customisation, I'd done, but have just done some testing with emacs -Q
etc. and it seems to work.
It's very strange that your setup seems to be starting maxima's (run)
function: personally, running the command 'sbcl --core maxima.core'
pulls up a standard SBCL repl which only brings up the maxima repl upon
calling (run) myself. Do you have a different behaviour? (this seems
odd!)
Anyway, the unpleasant looking errors above are due to maxima itself
being started before the commands to load swank (in lisp) get piped to
it. Unsurprisingly, maxima is not impressed by this torrent of text in a
strange language!
Let me know if you find what's not working,
Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20090419/f2a85b5a/attachment.pgp