From b73d5be759185100b448b1dcfbbe366712c9f4fe Mon Sep 17 00:00:00 2001 From: Grant Shoshin Shangreaux Date: Mon, 9 Jan 2023 21:40:53 -0600 Subject: Add: slime from source and remove sly [common-lisp] --- shoshimacs.el | 13 ++++++++++++- shoshimacs.org | 17 ++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/shoshimacs.el b/shoshimacs.el index 8630957..c7eba28 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -171,7 +171,18 @@ (setq indent-tabs-mode nil) ;;; Programming -(package-install 'sly) +(defvar slime-repo "https://github.com/slime/slime") +(defvar slime-src-dir "~/src/slime") + +(unless (file-directory-p slime-src-dir) + (shell-command + (format "git clone %s %s" slime-repo slime-src-dir))) + +(add-to-list 'load-path slime-src-dir) + +(require 'slime) + +(setq inferior-lisp-program "sbcl") (package-install 'json-mode) diff --git a/shoshimacs.org b/shoshimacs.org index 52b1fbc..554cc3d 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -676,8 +676,23 @@ from them in various Emacs menus. [[*\[\[info:consult#Top\]\[consult\]\] - Consu :END: ** Languages *** Common Lisp + +The ~slime~ package v2.26.1 in the nongnu repo seems to have an issue with +emacs 28.1 (?) so I'm installing it from source. + #+begin_src emacs-lisp - (package-install 'sly) + (defvar slime-repo "https://github.com/slime/slime") + (defvar slime-src-dir "~/src/slime") + + (unless (file-directory-p slime-src-dir) + (shell-command + (format "git clone %s %s" slime-repo slime-src-dir))) + + (add-to-list 'load-path slime-src-dir) + + (require 'slime) + + (setq inferior-lisp-program "sbcl") #+end_src *** Javascript -- cgit v1.2.3