|
From: | Paul Eggert |
Subject: | Re: [PATCH] Override Windows default Win-* key combinations when using Emacs |
Date: | Sun, 28 Feb 2016 12:03:35 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Eli Zaretskii wrote:
>Eli Zaretskii wrote:> >currently, we don't use getaddrinfo on Windows (because it > >wasn't available before XP). So a useful first step would be to add > >support for getaddrinfo, when it is available.> >It would be easy to the Gnulib getaddrinfo module, which is supposed to add >support for getaddrinfo on MS-Windows platforms that lack it.What would be the point of that? The fallback code is already in Emacs, and it isn't Windows-specific
The point is to separate concerns. Using the getaddrinfo module should make Emacs easier to maintain, since Emacs wouldn't need "#ifndef HAVE_GETADDRINFO" etc. sprinkled throughout its own source code. The total amount of code in the Emacs tarball (i.e., Emacs proper + Emacs copy of gnulib subset) should be about the same, but the "port to non-getaddrinfo" stuff would be in gnulib and would be shared better with other GNU projects.
[Prev in Thread] | Current Thread | [Next in Thread] |