From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?) Date: Tue, 04 Sep 2007 14:29:55 -0700 Message-ID: <200709042130.l84LU0x3007416@oogie-boogie.ics.uci.edu> References: <86k5re4blv.fsf@blue.stonehenge.com> <200708291531.l7TFVnlD010335@oogie-boogie.ics.uci.edu> <86fy224aah.fsf@blue.stonehenge.com> <86bqcq4a4q.fsf@blue.stonehenge.com> <200708291604.l7TG4atk011108@oogie-boogie.ics.uci.edu> <867ine492x.fsf@blue.stonehenge.com> <200708291628.l7TGSvM6011975@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188941508 28476 80.91.229.12 (4 Sep 2007 21:31:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 21:31:48 +0000 (UTC) Cc: eliz@gnu.org, merlyn@stonehenge.com, Stefan Monnier , mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 04 23:31:47 2007 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.50) id 1ISfzo-00085M-Ou for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 23:31:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISfzn-0001cH-75 for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 17:31:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISfzh-0001Xu-Ef for emacs-devel@gnu.org; Tue, 04 Sep 2007 17:31:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISfzg-0001Vg-Bn for emacs-devel@gnu.org; Tue, 04 Sep 2007 17:31:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISfzg-0001VK-62 for emacs-devel@gnu.org; Tue, 04 Sep 2007 17:31:32 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISfzX-0006dV-NT; Tue, 04 Sep 2007 17:31:24 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l84LU0x3007416; Tue, 4 Sep 2007 14:30:00 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Tue\, 04 Sep 2007 12\:45\:18 -0400") Original-Lines: 29 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.41, required 5, autolearn=disabled, ALL_TRUSTED -1.44, FS_OBFU_X 1.03) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-Detected-Kernel: Solaris 9 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:77770 Archived-At: Richard Stallman writes: > Of course not. But if the build does support the Carbon|w32|X11 interface, > then it makes sense to preload (mac|w32|x)-win.el even if the user will > occasionally run with -nw in which case the file will not be used. > > Why preload them if in some sessions they will not be used? > Is the purpose just to speed up startup? If so, how much > difference does it make? I don't know if it supposed to speed startup, but I suppose it's probably some other reason. There's code in `command-line' that tries to make sure that the WINDOW_SYSTEM-win file is loaded, and it errors out if it is not. It then proceeds to call the x-handle-args (all the term/*-win.el files provide such a function) After that the function WINDOW_SYSTEM-initialize-window-system. (all the term/*-win.el files provide such a function now). Again, this is just reading the code, not implying anything about why any of these things are done in that way. So what is the problem with having *-win loaded by default? This discussion started because the port was having issues because mac-win.el was requiring "url" for some of its functions. Those can be moved to another file and the port can arrange to have the functions in question properly loaded.