Hello everyone,
I am using SLIME & SBCL on a remote host. I essentially use Emacs/Slime as a client to connect to my Lisp system, using M-x slime-connect.
I'd like to configure things so that when I connect via SLIME, I can run my own function in the remote Lisp before getting a REPL prompt.
Is that possible?
On Thursday, December 9, 2021 at 9:05:03 AM UTC-8, michael???@gmail.com wrote:
I am using SLIME & SBCL on a remote host. I essentially use
Emacs/Slime as a client to connect to my Lisp system, using M-x
slime-connect.
I'd like to configure things so that when I connect via SLIME, I can
run my own function in the remote Lisp before getting a REPL prompt.
Is that possible?
Is this something you could do with a lisp init file that the remote
SBCL job executes on startup?
Or do you want to do this only based on the slime connection?
Yeah, none of that will actually achieve what I'd like to do.
I'd like to run a function on actual connection .. not when Lisp or Swank individually are loaded.
The use-case is to allow Emacs / SLIME to be used as an interface for a Lisp application. I can make Emacs automatically connect.
But then the user has to manually start the program. It would be nice to have it simply run on connect.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 294 |
Nodes: | 16 (2 / 14) |
Uptime: | 245:15:20 |
Calls: | 6,626 |
Calls today: | 2 |
Files: | 12,175 |
Messages: | 5,320,562 |