Ok, say stop where you fall off.Knut Olav Bøhmer <knut-olav.bohmer@telenor.com> writes:I just committed not to do that when we're inside a REPL buffer; but it doesn't make much sense for .lisp buffers either, or SLDB buffers, or the inspector, or..Right, it does not make sense for REPL, SLDB or inspector. But as you can see from the example above: It makes a lot of sense for .lisp files, and I use it every day.I didn't understand your example. Perhaps you're looking for an extra command to make the current connection buffer-local in a buffer.
There will be no surprises. You will anyway need to keep track of your connection. You can do that by looking at the connection-name in the mode-line. You will also have to have to know what kind of source-code you are evaluating, then you would know which lisp-image it should be evaluated in.Slime-cycle-connections making the new connection buffer-local means for example that making another connection the default connection via slime-list-connections will lead to surprises.
If the buffer-local connection become sale, you will avoid running lisp-commands in another random default connection.Additionally, buffer-local connections can become stale, rendering the .lisp buffer useless.