[slime-devel] Fix for slime-connect on windows

Marko Kocić marko.kocic at gmail.com
Wed Oct 20 10:46:39 UTC 2010


Hi all,

Here is a small patch attached that that fixes slime-connect on windows.

The problem is that port must be integer, since open-netword-stream
and make-network-process can't handle port number as string in windows
version of emacs.
Here's the relevant part of make-network-process doc

:service SERVICE -- SERVICE is name of the service desired, or an
integer specifying a port number to connect to.  If SERVICE is t,
a random port number is selected for the server.  (If Emacs was
compiled with getaddrinfo, a port number can also be specified as a
string, e.g. "80", as well as an integer.  This is not portable.)

I'm not sure if this is the best way to fix it, but at least it points
to the problem.

Regards,
Marko Kocić
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-using-slime-connect-on-windows.patch
Type: application/octet-stream
Size: 1104 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20101020/61625b03/attachment.obj>


More information about the slime-devel mailing list