#swank — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #swank, aggregated by home.social.
-
"All the swank in the world won't save you from this disaster?"
"What disaster?"
'Your face! You look like rutabaga!"
-
@jackdaniel
sorry for the hassle, but I forgot if I asked you how you do this []
(defparameter *hook-runner*
(let* ((form `(:eval-no-wait ,(swank::process-form-for-emacs
'(run-hooks 'clim-after-hook))))
(c swank::*emacs-connection*))
(lambda ()
(swank::send (swank::mconn.control-thread c) form))))In order to
(defmethod execute-frame-command :After
((obj application-frame) (list t))
(funcall *hook-runner*))Obviously I'm using #swank internals to force the issue.
-
015 / #100daystooffload #CommonLisp #Programming #clim #demo #lisp themed.
In which I start #swank using #elisp #eshell in #emacs #orgmode (using this text file).
#gopher
gopher://tilde.club/0/~screwtape/synthember-100days-tooffload/015-clim-in-emacs.org
proxy
https://gopher.tildeverse.org/tilde.club/0/~screwtape/synthember-100days-tooffload/015-clim-in-emacs.org@jackdaniel what do you do to start swank here? I forgot where the note on doing this was when I was jamming this org doc.
https://gopher.tildeverse.org/tilde.club/1/~screwtape/synthember-100days-tooffload/
gopher://tilde.club/1/~screwtape/synthember-100days-tooffload/ -
@pkw @Ardubal @louis @solene
Context: #emacs modes for #CommonLisp such as #SLIME and #SLY (and later non-emacs stuff) use a Common Lisp TCP server setup named #SWANK . So one natural starting point to have a secure remote accessible lisp would be to connect SLIME in emacs to a remote swank server you are running. -
@galdor @SquircleSpace Hang on I did this a while ago.
You have to enable it in emacs:
M-x customize-variable
slime-enable-evaluate-in-emacs
<to true>
Then you can
(swank:eval-in-emacs '(format "%d" 3))
There's also elisp (slime-eval- etc.
#emacs #swank interoperability -
-
https://archives.anonradio.net/202212210000_screwtape.mp3
lispy gopher show w/screwtape
#aNONradio #archive @SDF
#emacs
#graphviz
#gopher
#orgMindMap
#orgmode
#elisp
#slime
#swank
#CommonLisp
#graphs (mathematical)