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

Stas Boukarev stassats at gmail.com
Wed Oct 20 11:42:49 UTC 2010


Marko Kocić <marko.kocic at gmail.com> writes:

> 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.
Applied, thanks for the patch!

-- 
With Best Regards, Stas.




More information about the slime-devel mailing list