On 2009-04-19 10:31 +0100, Rupert Swarbrick wrote:
> Leo <sdl.web at gmail.com> writes:
>>
>>> It seems that wxMaxima and Maxima releases are synchronus - both get
>>> new releases 3 times per year normally. Both also don't have any
>>> roadmap or goals for next version numbers (like Maxima 6.0 or
>>> wxMaxima 1.0) ... Constantly increasing a minor version number is
>>> thus in fact a nonsense.
>>
>> A greater challenge would be making SLIME? talk to maxima. It is far
>> more superior than the emacs interface included in maxima.
>
> ... 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
(%i1) Incorrect syntax: T is not an infix operator
(%i1) Incorrect syntax: swank-loader:init is not an infix operator
(%i1) Incorrect syntax: Illegal use of delimiter )
(%i1) Incorrect syntax: Illegal use of delimiter )
(%i1) Incorrect syntax: swank:start-server is not an infix operator
(%i1) Incorrect syntax: Illegal use of delimiter )
(%i1) Incorrect syntax: iso-latin-1-unix is not an infix operator
(%i1) Incorrect syntax: Illegal use of delimiter )
(%i1) Incorrect syntax: Illegal use of delimiter )
(%i1)
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?
> However, while this is neat for testing the lisp code, it's actually not
> as convenient for _using_ maxima as the standard emacs maxima mode, in
> my experience.
>
> In fact, I've quite frequently found myself with one session of each
> type open: of course, this works fine :-)
>
>
> Rupert
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
www.git-scm.com
git - the one true version control system