From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: Understanding slime and swank Date: Wed, 03 Mar 2010 11:31:54 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267612387 18856 80.91.229.12 (3 Mar 2010 10:33:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2010 10:33:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 03 11:33:01 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nmlsz-0000Ui-4S for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Mar 2010 11:33:01 +0100 Original-Received: from localhost ([127.0.0.1]:49032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nmlsy-0007uG-Gs for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Mar 2010 05:33:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmlsC-0007ri-PT for help-gnu-emacs@gnu.org; Wed, 03 Mar 2010 05:32:12 -0500 Original-Received: from [140.186.70.92] (port=56789 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmlsA-0007rD-SX for help-gnu-emacs@gnu.org; Wed, 03 Mar 2010 05:32:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmlsA-0001CS-8N for help-gnu-emacs@gnu.org; Wed, 03 Mar 2010 05:32:10 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:40358) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nmls9-0001CC-R2 for help-gnu-emacs@gnu.org; Wed, 03 Mar 2010 05:32:10 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nmls6-0008Rj-1W for help-gnu-emacs@gnu.org; Wed, 03 Mar 2010 11:32:06 +0100 Original-Received: from xdsl-78-35-129-26.netcologne.de ([78.35.129.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Mar 2010 11:32:06 +0100 Original-Received: from andrea.crotti.0 by xdsl-78-35-129-26.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Mar 2010 11:32:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: xdsl-78-35-129-26.netcologne.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:UcxNrGE2qfJCopFQ8BtC5llu67k= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72333 Archived-At: Eric Abrahamsen 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