diff --git a/org/config/emacs.org b/org/config/emacs.org index 74bafc9..1becd61 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -5574,6 +5574,15 @@ configuration, it should be automatically enabled when entering "er" #'stumpwm-eval-region)) #+end_src +Sly enables some deep interactivity between Emacs and a CommonLisp +application running the Slynk backend. For an example, see [[file:stumpwm.org::#Utilities-Sly-kkok6oi0yaj0][my Sly +configuration for StumpWM]]. +#+begin_src emacs-lisp +(use-package sly + :defer t + :straight (:build t)) +#+end_src + **** Dart :PROPERTIES: :CUSTOM_ID: Packages-Configuration-Programming-languages-General-Programming-Languages-Dart-xkr3z8j0m6j0 diff --git a/org/config/stumpwm.org b/org/config/stumpwm.org index c853e1d..fcdcbce 100644 --- a/org/config/stumpwm.org +++ b/org/config/stumpwm.org @@ -1125,6 +1125,28 @@ when entering a password such as AltGr, so I can’t use it : / ;; (load-module "pinentry") #+end_src +** Sly +:PROPERTIES: +:CUSTOM_ID: Utilities-Sly-kkok6oi0yaj0 +:END: +[[https://github.com/joaotavora/sly][Sly]] is a fork of SLIME with which I can connect StumpWM and Emacs +together. Technically this is already done to some level with +~stumpwm-mode~, but the latter doesn’t provide auto-completion or stuff +like that. + +The first thing to do is load ~slynk~, SLY’s server: +#+begin_src lisp +(ql:quickload :slynk) +#+end_src + +Now we can define a command to launch the server. I don’t want it to +run all the time, just when I need it. +#+begin_src lisp +(stumpwm:defcommand start-sly-server () () + "Start a SLYNK server for SLY" + (slynk:create-server :dont-close t)) +#+end_src + ** ~swm-ssh~ :PROPERTIES: :CUSTOM_ID: Utilities-swm-ssh-s14ahrs0z9j0