;; Modified to track down error messages when loading slime-github ;;Don't know what this does, but I saw it in slime/README.md so I thought to try it... ```el (filesets-init) ;;Added to allow fileset usage ;;Global key bindings (global-set-key "\C-x\C-b" 'buffer-menu) ;;End global key bindings (require 'cl-lib "~/my-slime-sandbox/slime/lib/cl-lib.el") ;;this is cl-lib-0.3 shipped w/slime. ;;Latest slime installation (add-to-list 'load-path "~/my-slime-sandbox/slime/") ;your SLIME directory ;;(require 'slime-tests) ;;This is the way to load the test suite for interactive use, but it gives errors this way. ;;Run the tests from within emacs with M-x slime-batch-test. ;;Stuff from http://archgeek.wordpress.com/2009/02/07/setting-up-slime-emacs-and-sbcl/ (eval-after-load "slime" '(progn ;;Recently added these three lines to allow quicklisp to work (set-language-environment "UTF-8") (setq slime-net-coding-system 'utf-8-unix) ;;(load (expand-file-name "~/quicklisp/slime-helper.el")) ;;NOTE: this causes quicklisp to load its version of slime rather than mine (setq slime-lisp-implementations '( (sbcl ("/usr/local/bin/sbcl") :coding-system utf-8-unix) ;;for sbcl ;;cmucl won't load clx under mcclim! ;;(cmucl ("/opt/cmucl-20d/bin/lisp") :coding-system iso-8859-1-unix) ;;Not using ;;;;(cmucl ("/opt/cmucl-20d/bin/lisp") :coding-system utf-8-unix) ;;Don't work (ccl ("/usr/local/bin/ccl") :program-args -K :coding-system utf-8-unix) ;;64-bit (ccl32 ("/usr/local/bin/ccl32") :program-args -K :coding-system utf-8-unix) ;;32-bit ;;;;(clforjava ("/home/pfb/clforjava")) ;;Doesn't work properly ) common-lisp-hyperspec-root "~/my-slime-sandbox/HyperSpec/") (slime-setup '( slime-fancy ;;added this when quicklisp was added ; slime-tramp ;;added this when quicklisp was added. (may be useful) slime-asdf ;;slime-typeout-frame ;;starts slime with a external typeout frame slime-indentation ; slime-mdot-fu ;;slime-sbcl-exts ;;decided not to continue with this slime-xref-browser slime-highlight-edits ;;Added this to test. I'm having trouble adapting to it, but it is useful. slime-mrepl ;;Allows multiple repls. Invoke w/ M-x slime-open-listener. ;;slime-tests ;;Not the best place for this. )) ;; Remove the following without noticed problems ;;(slime-autodoc-mode) ;;(setq slime-complete-symbol*-fancy t) ;;(setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol) ;;(add-hook 'lisp-mode-hook (lambda () (slime-mode t))) ;;When this is loaded, it fills the repl with many warnings... ;;(load "~/quicklisp/log4slime-setup.el") ;;(global-log4slime-mode 1) ;;This generates a compiler warning )) (require 'slime-autoloads) (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. '(tab-width 4) ;;this works '(cua-mode t nil (cua-base)) '(double-click-time 750) '(filesets-data (quote (("math-stuff" (:pattern "~/Documents/LispCode/Mathstuff" "^.+\\.lisp$")) ("clx-gui-classes" (:pattern "~/Documents/LispCode/clx-gui-classes" "^.+\\.lisp$")) ("mpfr-cffi-library" (:pattern "~/Documents/LispCode/MPFRstuff" "^.+\\.lisp$")) ("Actor-stuff" (:pattern "~/Documents/LispCode/Actors" "^.+\\.lisp$"))))) '(mouse-drag-copy-region nil) '(show-paren-mode t)) (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. '(fringe ((((class color) (background light)) (:background "white" :foreground "black")))))