;; 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 (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 ;;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") :coding-system utf-8-unix) ;;Not using ;;(abcl ("/home/pfb/abcl")) ;;Not using ;;(ecl ("/usr/local/ecl32/bin/ecl") :coding-system utf-8-unix) ;;Not using ;;;;(clforjava ("/home/pfb/clforjava")) ;;Doesn't work properly ;;;;(clisp ("/usr/bin/clisp")) ;;Not using ) 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 one )) ;; 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))) ;;The following two lines are causing error messages in the slime message buffer ;;find another logger! ;;(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")))))