[CM] slime cm-2.10 and ASDF

R. Mattes rm at mh-freiburg.de
Tue Jul 30 12:33:11 PDT 2013


> On Jul 30, 2013, at 9:58 AM, Orm Finnendahl <o.finnendahl at inm.mh-
> freiburg.de> wrote:
>
> > Ralf Mattes (his email is included in the mail header) has recently
> > made a wonderful quicklisp package of cm2. We have put it on a test
> > server of our school but haven't (yet) made it publically available.


Let me clarify a few points: I haven't made a "quicklisp package" - there's
no such thing. Quicklips distributes unchanged upstream software. To
integrate code into quicklisp it just needs a pulic repository and one
or more asdf system definitions. Unfortunately CM2 has a rather "smart"
asdf system setup that compiles lisp code from the scheme code and creates
shell scripts to run CM from the command line (and assumes that cshell is
available ...). Recent versions of try to be more declarative, so integration
into quicklisp might be problematic. What I have done: I've set up a
quicklisp _distribution_ that does contain a (slightly modified) version
of CM, but is meant ot also contain music/composition related lisp code.
My CM version currently has some bugfix to get it running unde recent SBCL
as well as some minor changes to the asdf file. I also renamed the system to
CM2, both to make later versions CM installable as well as to make it clear
that this is _not_ the official CM version. @Orm: technically the server _is_
publically available, so if you don't mind we can share the code :-)


On Tue, 30 Jul 2013 11:26:29 -0500, Heinrich Taube wrote
> thank you for this. it looks to me like that asdf error involves a
> slime asdf and not cm's but its difficult to tell.

There is no such thing as "slime's asdf". Slime sends and receives
-expressions from/to a running common lisp. The asdf used is the one
installed into that lisp.

>  honestly not
> having to deal with slime and interprocess communication hair in
> general is one of the best things about using s7. don't
> misunderstand me, i live in emacs about 12 hours a day and love it --
>  when i die i'll probably signal a c-x c-c on my bed covers..

;-)

Same with me. But installing slime (and CM2) with quicklisp is so
easy, I doubt s7/grace is easier to install.
And slime by itself is such a treat - inspecting code with M-. and
the slime inspector can't be beaten (o.k. ... if you own a Symbolics
and get CM running on it ....)


> >> I would love to have CM 2.10 running under Emacs, Slime
> >> and Clisp or sbcl again.

Do you really want to use CLISP?

> >> Here is the .emacs   And below that the Slime sign-on,
> >> where the ASDF error can be seen at the tail end.
> >>
[...]
> >> ;; Error while compiling /home/ara/adm/slime-2013-04-05/contrib/swank-
> >> asdf.lisp:
> >> ;;   Your ASDF is too old. The oldest version supported by swank-asdf
> >> is
> >> 2.014.6.
> >> ;; Aborting.
> >> ;;
> >> [2]>

Do yourself a favour and install quicklisp :-)
Have a look at http://www.quicklisp.org/beta/ and try it.
You'll like it.


 HTH RalfD

--
R. Mattes -
Hochschule fuer Musik Freiburg
rm at inm.mh-freiburg.de



More information about the Cmdist mailing list