Subject: slime: Readme seems to contain incorrect information about contrib
From: Erick Lopez Carreon <[email-masked]>
To: [email-masked]
Date: Sun, 28 Oct 2007 10:59:07 -0600

Package: slime
Version: 1:20070927-3
Severity: normal

File /usr/share/doc/slime/README give the following instructions to
activate contrib stuff like slime-reindent-defun which is
in: /usr/share/emacs/site-lisp/slime/contrib/slime-editing-commands.el
and /usr/share/emacs22/site-lisp/slime/contrib/slime-editing-commands.el

"To use the packages here, you should add this directory to your Emacs
load-path.  E.g. for fuzzy completion add this to your .emacs:

 (add-to-list 'load-path "<this-directory>")
  (add-hook 'slime-load-hook (lambda () (require 'slime-fuzzy)))"

But this instructions seems to be unuseful, because after modify
accordingly ~/.emacs, typing C-c M-q in Emacs still results in:

"C-c M-q is undefined"

I managed it worked again modifying ~/.emacs in this way:

(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/contrib/")
(setq inferior-lisp-program "/usr/bin/sbcl")
(require 'slime)
(slime-setup
 '(slime-editing-commands))

Thanks.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-xpsm1210 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages slime depends on:
ii  cl-swank                    1:20070927-3 Superior LISP Interaction
Mode for
ii  emacsen-common              1.4.17       Common facilities for all
emacsen

Versions of packages slime recommends:
ii  emacs21 [info-browser]      21.4a+1-5.1  The GNU Emacs editor
ii  emacs22 [info-browser]      22.1+1-2     The GNU Emacs editor
ii  info [info-browser]         4.8.dfsg.1-6 Standalone GNU Info
documentation