unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Understanding slime and swank
Date: Wed, 03 Mar 2010 11:31:54 +0100	[thread overview]
Message-ID: <m1vdddvgpx.fsf@gmail.com> (raw)
In-Reply-To: C89D2EC4-42C6-4A4B-9B67-8F8C07D9AC7C@gmail.com

Eric Abrahamsen <girzel@gmail.com> writes:

> On Mar 2, 2010, at 9:40 PM, Andrea Crotti wrote:
> Are you looking for slime-lisp-implementations? The example from the
> docs looks like this:
>
> (setq slime-lisp-implementations
>            '((cmucl ("cmucl" "-quiet"))
>              (sbcl ("/opt/sbcl/bin/sbcl") :coding-system utf-8-unix)))
>
> The one at top will be default, I think you run slime with a prefix
> arg to autocomplete choose from different implementations.
>

mm no I didn't mean that...
I would like to use this:
http://github.com/jochu/swank-clojure

And also switch to other lisp implementations.
It's not very clear how I should do, they also say to add this
--8<---------------cut here---------------start------------->8---
(add-to-list 'slime-lisp-implementations '(sbcl ("sbcl")))
--8<---------------cut here---------------end--------------->8---

But now again is only sbcl working, also prefixing M-x slime.

Before only loading "swank-clojure" was enough to make it working...

I just would like to understand more or less how swank-slime work and
which variables I should set up..
Now the conf is
--8<---------------cut here---------------start------------->8---
(add-to-list 'Info-default-directory-list "~/.emacs.d/slime/doc/")

;; the path should be already set up correctly
(setq inferior-lisp-program "sbcl")
(require 'slime)
(require 'slime-fuzzy)
(slime-setup)
(setq slime-complete-symbol*-fancy t)
(setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol)

(require 'swank-clojure)

(add-to-list 'slime-lisp-implementations '(sbcl ("sbcl")))
--8<---------------cut here---------------end--------------->8---


And I also have the slime.info now but still I can't see the
documentation..

Anyway using auto-complete with slime maybe?
Also another problem is that not requiring 'slime-fuzzy didn't find me
the completing function, isn't there any autoloading then?
Thanks





  reply	other threads:[~2010-03-03 10:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02 13:40 Understanding slime and swank Andrea Crotti
2010-03-02 14:14 ` Eric Abrahamsen
2010-03-03 10:31   ` Andrea Crotti [this message]
2010-03-03 16:27     ` Sean Sieger
2010-03-03 17:13       ` Peter Dyballa
2010-03-05 21:36         ` Sean Sieger
     [not found]   ` <mailman.2215.1267612335.14305.help-gnu-emacs@gnu.org>
2010-03-07  6:24     ` Tim X
2010-03-02 23:27 ` Sean Sieger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1vdddvgpx.fsf@gmail.com \
    --to=andrea.crotti.0@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).