From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build broken in Fmake_network_process Date: Thu, 01 Apr 2010 01:59:44 +0900 Message-ID: <87d3yks9z3.fsf@uwakimon.sk.tsukuba.ac.jp> References: <83634jglab.fsf@gnu.org> <831vf7ge57.fsf@gnu.org> <83y6hfeyzw.fsf@gnu.org> <83vdcig87f.fsf@gnu.org> <87k4sywpvv.fsf@stupidchicken.com> <83tys2fbxs.fsf@gnu.org> <87hbo1iubm.fsf@home.jasonrumney.net> <83ljddg0w9.fsf@gnu.org> <4BAE867D.3030404@gmail.com> <4BAE9ED4.6070900@t-online.de> <87tys12sdy.fsf@telefonica.net> <87y6h9rsuc.fsf@uwakimon.sk.tsukuba.ac.jp> <83bpe4zy13.fsf@gnu.org> <87ljd8se7y.fsf@uwakimon.sk.tsukuba.ac.jp> <83wrwsxyg6.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270055368 7673 80.91.229.12 (31 Mar 2010 17:09:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 31 Mar 2010 17:09:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 31 19:09:24 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nx1Pq-0006d9-5g for ged-emacs-devel@m.gmane.org; Wed, 31 Mar 2010 19:09:18 +0200 Original-Received: from localhost ([127.0.0.1]:45080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nx1Pp-0003Pa-JI for ged-emacs-devel@m.gmane.org; Wed, 31 Mar 2010 13:09:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nx1Gb-00047q-5u for emacs-devel@gnu.org; Wed, 31 Mar 2010 12:59:45 -0400 Original-Received: from [140.186.70.92] (port=42891 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nx1GZ-00045r-QT for emacs-devel@gnu.org; Wed, 31 Mar 2010 12:59:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nx1GY-0006ou-K2 for emacs-devel@gnu.org; Wed, 31 Mar 2010 12:59:43 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:44416) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nx1GV-0006nw-D9; Wed, 31 Mar 2010 12:59:39 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 06D2C1535AE; Thu, 1 Apr 2010 01:59:37 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 4DF4F1A38CA; Thu, 1 Apr 2010 01:59:44 +0900 (JST) In-Reply-To: <83wrwsxyg6.fsf@gnu.org> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" a03421eb562b XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122984 Archived-At: Eli Zaretskii writes: > I do think that the costs are not too significant, especially since > most of the Windows-specific code is in separate source files. There > are currently 188 #ifdefs specific to Windows in non-Windows sources > of Emacs; for comparison, there are 112 "#ifdef HAVE_X_WINDOWS" and > 100 "#ifdef HAVE_NS". That's much more objective. However, it's not a matter of just counting them. There are a lot more developers who are relatively familiar with X Windows, and most POSIX-based developers will be familiar with X. They would like to be refactoring code, but they can't do that if it crosses an #ifdef MSWINDOWS (or whatever the #define is) unless they're willing to take a hack at implementing the Windows version. It was precisely such an exercise that triggered this thread (or maybe it's a similar thread). Of course in principle it's symmetrical; I'm sure there are refactoring exercises you'd like to perform, but are deterred by the need to fix up POSIX/X Windows/GNUStep code you don't know much about. However, this kind of friction, like any friction, imposes more burden on the faster moving object -- which is the POSIX side.