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?
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@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
* David Baumgold [2009-01-08 18:58+0100] writes:
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
Emacs 23 is the currently under development. You probably meant Emacs 21.4.
completion to work in slime. When I hit M-tab, the buffer responds with "No tags table loaded; try M-x visit-tags-table".
It seems like slime-mode is not enabled. Do you see something like "(Lisp Slime[sbcl])" in the modeline? Or "(Lisp)" alone? You can use M-x slime-mode turn it and off.
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))
This looks OK.
Helmut.