[slime-devel] Help, can't get slime working.

Dustin Robert Kick mac_vieuxnez at mac.com
Wed Aug 23 04:20:55 UTC 2006


I'm running Mac OS X 10.4.7, and I've tried getting slime to work  
with the OS's emacs, xemacs and emacs21 from fink, as well as a  
Carbon Emacs package that was linked from the Apple downloads site.   
I've tried the slime from fink, slime from cvs, and downloaded tgz,  
and the slime that came bundled in the Carbon Emacs.  I've tried  
using clisp, cmucl, sbcl, and openmcl, and nothing I've tried works.   
Below is my current .emacs file, which is set to use slime from the  
tgz file, and sbcl from fink.  If anyone can offer any help with any  
particular slime on Mac OS X setup that I've tried, please let me  
know, and I can show specific error messages I've gotten, if they  
might help.

(setq auto-mode-alist
(append
'(("\\.mm$" . objc-mode)
	    ;;("\\.lisp$" . fi:common-lisp-mode)
	    ("\\.lisp$" . lisp-mode))
auto-mode-alist))

(add-to-list 'load-path "/Users/smee/slime-2.0")
(require 'slime)
(setq inferior-lisp-program "/sw/bin/sbcl"
       lisp-indent-functioin 'common-lisp-indent-function
       slime-complete-symbol-function 'slime-fuzzy-complete-symbol
       slime-startup-animation t)
;;;(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
;; Optionally, specify the lisp program you are using. Default is "lisp"
;;;(slime-setup)
(add-hook 'lisp-mode-hook
	  (lambda ()
	    (require 'slime)
	    (slime-mode t)
	    (slime-setup)))

   (setq load-path
                 (cons (expand-file-name "~/ilisp-20021222/") load- 
path))
           (autoload 'openmcl "ilisp" "Inferior Open MCL" t)
           ;; See the file "ilisp-5.11/ilisp.emacs" for
           ;; examples of other customization settings
           ;; that affect ILISP. Some recent
           ;; versions of XEmacs can be configured to
           ;; use a ~/.xemac/init.el file
           ;; instead of ~/.emacs



(custom-set-variables
   ;; custom-set-variables was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
)
(custom-set-faces
   ;; custom-set-faces was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
'(default ((t (:stipple nil :background "black" :foreground  
"white" :inverse-video nil :box nil :strike-through nil :overline  
nil :underline nil :slant normal :weight normal :height 120 :width  
normal :family "apple-monaco"))))
'(cursor ((t (:background "darkgrey"))) t))
(setq make-backup-files nil)
(setq inhibit-startup-message t)
(load-file "/Volumes/BRUNOISE.JARDIN/TIGRE/emacs/test.el")
(load-file "/Volumes/BRUNOISE.JARDIN/TIGRE/emacs/test_commands.el")


(fset '{
    (lambda (&optional arg) "Keyboard macro." (interactive "p")  
(kmacro-exec-ring-item (quote ("{}{" 0 "%d")) arg)))
(global-set-key (kbd "C-{") '{)

(fset '}
    (lambda (&optional arg) "Keyboard macro." (interactive "p")  
(kmacro-exec-ring-item (quote ([19 125 left right return] 0 "%d"))  
arg)))
(global-set-key (kbd "C-}") '})

(fset '\[
    (lambda (&optional arg) "Keyboard macro." (interactive "p")  
(kmacro-exec-ring-item (quote ([91 93 18 91 right] 0 "%d")) arg)))
(global-set-key (kbd "M-[") '\[)

(fset '\]
    "\C-s]\C-m")
(global-set-key (kbd "M-]") '\])


(fset '\)
    "\C-s)")
(global-set-key (kbd "C-)") '\))

(fset '\(
    (lambda (&optional arg) "Keyboard macro." (interactive "p")  
(kmacro-exec-ring-item (quote ([40 41 18 40 right] 0 "%d")) arg)))
(global-set-key (kbd "C-(") '\()



Dustin Kick


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20060822/347c9df0/attachment.html>


More information about the slime-devel mailing list