[slime-devel] Re: default connections

Tobias C. Rittweiler tcr at freebits.de
Fri Sep 26 21:13:58 UTC 2008


Knut Olav Bøhmer <knut-olav.bohmer at telenor.com> writes:

> Tobias C. Rittweiler wrote:
>
>     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.
>
> 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.

It will lead to surprises, as the connection to become the new default
won't become the connection of .lisp buffers you used
`slime-cycle-connection' in.


>     Additionally, buffer-local connections can become stale, rendering
> the .lisp buffer useless.
>
> If the buffer-local connection become sale, you will avoid running
> lisp-commands in another random default connection.

It became only stale because it was unnecessarily made buffer-local by
`slime-cycle-connection'.


I'll remove the line in question. It seems to be highly specific to your
personal use case; you can easily write something for your own personal
use on top of a `slime-cycle-connection' that doesn't make the new
connection buffer-local automatically.

  -T.




More information about the slime-devel mailing list