[Emacs, StumpWM] Add Sly configuration

This commit is contained in:
Lucien Cartier-Tilet 2021-12-17 16:27:09 +01:00
parent b8c0445d9c
commit 246cfdf19a
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 31 additions and 0 deletions

View File

@ -5574,6 +5574,15 @@ configuration, it should be automatically enabled when entering
"er" #'stumpwm-eval-region)) "er" #'stumpwm-eval-region))
#+end_src #+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 **** Dart
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Programming-languages-General-Programming-Languages-Dart-xkr3z8j0m6j0 :CUSTOM_ID: Packages-Configuration-Programming-languages-General-Programming-Languages-Dart-xkr3z8j0m6j0

View File

@ -1125,6 +1125,28 @@ when entering a password such as AltGr, so I cant use it : /
;; (load-module "pinentry") ;; (load-module "pinentry")
#+end_src #+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~ ** ~swm-ssh~
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Utilities-swm-ssh-s14ahrs0z9j0 :CUSTOM_ID: Utilities-swm-ssh-s14ahrs0z9j0