[Emacs, StumpWM] Add Sly configuration

This commit is contained in:
2021-12-17 16:27:09 +01:00
parent b8c0445d9c
commit 246cfdf19a
2 changed files with 31 additions and 0 deletions

View File

@@ -1125,6 +1125,28 @@ when entering a password such as AltGr, so I cant 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 doesnt provide auto-completion or stuff
like that.
The first thing to do is load ~slynk~, SLYs server:
#+begin_src lisp
(ql:quickload :slynk)
#+end_src
Now we can define a command to launch the server. I dont 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