[slime-devel] *new-connection-hook*

Marco Baringer mb at bese.it
Sun Jun 20 17:38:16 UTC 2004


Helmut Eller <e9626484 at stud3.tuwien.ac.at> writes:

> Marco Baringer <mb at bese.it> writes:
>
>> *new-connection-hook* passes the connection struct to emacs-connected
>> which expects a stream argument. something has to be changed. should
>> emacs-connected be changed to take a connection object or should the
>> elements in *new-connection-hook* be passed the stream?
>
> Neither variant is very appealing, but passing the stream is probably
> easier for now.  The current package organization makes it difficult
> to access struct slots in the backend.

idea: we could put (lambda (connection) (emacs-connected
(connection.socket-io connection))) on *new-connection-hook* instead
of putting emacs-connected directly. wouldn't this do it?

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
     -Leonard Cohen




More information about the slime-devel mailing list