aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2024-04-05 19:59:45 -0700
committercolin <colin@cicadas.surf>2024-04-05 19:59:45 -0700
commitefd8eaf6c83d5a17be5cf87fd6ed3d3194f742c9 (patch)
treee93b8deb6583e372223347ceb257101021c64492
parent308ebcb17fde1531abf79b99bdc0c1ea13b88550 (diff)
sly stuff
-rw-r--r--init-el.org34
1 files changed, 33 insertions, 1 deletions
diff --git a/init-el.org b/init-el.org
index 921be7b..6cab7d7 100644
--- a/init-el.org
+++ b/init-el.org
@@ -161,7 +161,7 @@ I'm using melpa and elpa package archives.
(?d "[d]ired" dired)
;(?d "[d]irvish" dirvish)
(?r "[r]eading" my-reading-command)
- (?s "[s]lime" my-lisp-switch-command)
+ (?s "[s]ly" sly)
(?h "[h]elp" helpful-at-point)))
@@ -1359,6 +1359,38 @@ association one shell with each perspective layout
#+end_src
+*** Sly
+
+#+name: sly-config
+#+begin_src elisp :noweb no-export
+(def-my-command my-lisp-mode-command
+ '((?d "[d]ocumentation" sly-describe-symbol)
+ ;(?\t "[TAB] inspect" how do I inspect??? )
+ (?S "[S]ync package" sly-mrepl-sync)
+ (?\t "TAB inpsect" sly-inspect)))
+
+
+;; (defvar +symbols-in-cl+ 977)
+
+;; (defun slime-random-words-of-encouragement ()
+;; "Return a string of hackerish encouragement."
+;; (slime-eval
+;; `(swank:documentation-symbol
+;; (cl:loop :for name :being :each :symbol :in (cl:find-package "CL")
+;; :collect (cl:symbol-name name) :into names
+;; :finally (cl:return (cl:elt names ,(random +symbols-in-cl+)))))))
+
+;; (defun slime-fasl-directory ()
+;; (let ((dir (format "%s/.cache/slime-fasls/" (getenv "HOME"))))
+;; (make-directory dir t)
+;; dir))
+
+
+;; (setq slime-compile-file-options
+;; (list :fasl-directory (slime-fasl-directory)))
+#+end_src
+
+
*** Editing Config
#+name: common-lisp-editing-config