Eduardo Ochs

14 Followers
6 Following
58 Posts
No communication by pipes yet, no communication via emacsclient yet, no 3-window setting yet...

We are trying to do very different things... my next tasks are more of less these ones:

1) Learn to start SBCL+Slime from a few sexps
2) Learn kill SBCL+Slime with a few sexps
3) Learn kill and restart SBCL+Slime with a few sexps
4) Define a M-x-something that inserts an block of red star lines that kills and restarts SBCL+Slime
5) Same, but with Slime controlling two different SBCLs
6) Define nice ways to select which SBCL to use as a target and which SBCL to kill

It would be much easier to discuss that by chat. Do you use Mastodon as a chat? I can try to do that too...

I defined a function (eepitch-sbcl-slime) that creates a temporary buffer that looks like vaguely like this,

•• (find-eepitch-sbcl-slime-links)
•• (find-efunction 'find-eepitch-sbcl-slime-links)

• (find-2a nil '(find-ebuffer "*slime-repl sbcl*"))
• (ee-kill-buffer "*slime-repl sbcl*")
• (find-2a nil '(find-ebuffer "*slime-repl sbcl<2>*"))
• (ee-kill-buffer "*slime-repl sbcl<2>*")

• (setq *inferior-lisp-program* "sbcl")
• (slime "sbcl")

but more functional, as that is just a bare prototype... and it would let me choose - by typing just <f8>s and <down>s - a target between one of the buffers in slime-repl-mode, and at the end it would have an (ee-kill-this-buffer) that returns to the buffer with the (eepitch-sbcl-slime)...

My biggest problem is that I don't have - yet - an (eepitch-sbcl-slime) that lets me select easily between all the existing buffers that are in sbcl-repl-mode, and that would do something sensible if there are none...
I'm working on something completely different from that, and I'm probably going to crash in 1h or so...
Hi! Are you still awake?

@screwlisp
I only have the idea right now, and it is something very vaguely inspired by the traceback buffers in Slime/Sly that would be hard to summarize in a few sentences... my plan was to ask you how you would translate this to two SBCLs running in parallel, with Slime controlling both - just forget the 3-window setting and use a 2-window setting, it would be easier for you - and then I'll start by your translation and build the interface the selects the right Slime target...

• (find-3EE '(eepitch-shell) '(eepitch-shell2))
• (find-3ee '(eepitch-shell) '(eepitch-shell2))
• (eepitch-shell)
date > /tmp/o

• (eepitch-shell2)
cat /tmp/o

@screwlisp Hey, I had an idea for a way to make an eepitch-slime that would support switching easily between several targets! Can you help me to write a "bad prototype" like what you've been doing, in which you have two SBCLs talking to one another? Can we a arrange a way to chat?

@screwtape If we don't get to chat today...

1) you mean to eev or to eev-mode? Eev-mode is just a keymap - btw: http://anggtwu.net/2024-restructuring.html#mode-line

2) eev-tlinks.el is a kitchen sink - lots of things are there just because they are fun in any of many, many senses...

3) About intros: I need to show you the tools that I use to create and edit new intros! And I need to make sure that I installed in the editing tools the changes that let intros defined in other files be well supported... =S

Eev for beginners: restructuring the first hour or so (2024)