[slime-devel] command completion not working

Gary King gwking at metabang.com
Thu Jan 8 20:20:07 UTC 2009


Hi David,

I'm the third to last person to understand this stuff, but what is/are  
the modes of the buffer in question. Slime is only active in Lisp  
buffers. You may want to add something like this...

(setq auto-mode-alist (cons '("\\.cl$" . slime-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.asd$" . slime-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.asdf$" . slime-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.cl$" . lisp-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.asd$" . lisp-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.asdf$" . lisp-mode) auto-mode-alist))

HTH,

On Jan 8, 2009, at 12:58 PM, David Baumgold wrote:

> I am using Red Hat Enterprise Linux 5 on a 64 bit architecture,  
> running 64 bit SBCL 1.0.23, slime 2009-01-05, and GNU Emacs 24.4.1.  
> I cannot get command completion to work in slime. When I hit M-tab,  
> the buffer responds with "No tags table loaded; try M-x visit-tags- 
> table". The relevant part of .emacs file is as follows:
>
> (setq inferior-lisp-program "/usr/local/bin/sbcl")
> (push "/usr/local/slime/" load-path)
> (push "/usr/local/slime/contrib/" load-path)
> (require 'slime)
> (slime-setup '(slime-fancy))
>
> Any suggestions for how to get command completion to work?
> _______________________________________________
> slime-devel site list
> slime-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/slime-devel

--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM * gwking on twitter









More information about the slime-devel mailing list