From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?) Date: Fri, 31 Aug 2007 19:04:00 +0900 Organization: Faculty of Science, Chiba University Message-ID: 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> <863ay24826.fsf@blue.stonehenge.com> <200708291641.l7TGfo2t012413@oogie-boogie.ics.uci.edu> <200708310812.l7V8Cgq9022040@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1188554758 20231 80.91.229.12 (31 Aug 2007 10:05:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2007 10:05:58 +0000 (UTC) Cc: "Randal L. Schwartz" , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 31 12:05:57 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 1IR3Nv-0001cK-7j for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 12:05:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR3Nu-0004ln-Dj for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 06:05:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IR3ME-0003yY-Cd for emacs-devel@gnu.org; Fri, 31 Aug 2007 06:04:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IR3MC-0003y4-LL for emacs-devel@gnu.org; Fri, 31 Aug 2007 06:04:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR3MB-0003xe-93 for emacs-devel@gnu.org; Fri, 31 Aug 2007 06:04:03 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IR3MA-0000AZ-B1 for emacs-devel@gnu.org; Fri, 31 Aug 2007 06:04:02 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 7B0EC2C45; Fri, 31 Aug 2007 19:04:00 +0900 (JST) In-Reply-To: <200708310812.l7V8Cgq9022040@oogie-boogie.ics.uci.edu> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-Detected-Kernel: NetBSD 3.0 (DF) 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:77477 Archived-At: >>>>> On Fri, 31 Aug 2007 01:12:38 -0700, Dan Nicolaescu said: > YAMAMOTO Mitsuharu writes: >> >>>>> On Wed, 29 Aug 2007 09:41:50 -0700, Dan Nicolaescu said: >> >> >> It works in terminal mode, but fails to launch in carbon mode. :( >> >> > It used to do at least that much when I did the mac multi-tty port >> > back in May. A lot of things seem to have changed in CVS for the mac >> > since then. >> >> Now I can hardly believe that. I couldn't find any calls to >> add_keyboard_wait_descriptor in the past macterm.c in the multi-tty >> branch despite the comment in process.c below: >> >> /* Don't do this, it caused infinite select loops. The display >> method should call add_keyboard_wait_descriptor on stdin if it >> needs that. */ >> #if 0 >> FD_SET (0, &input_wait_mask); >> #endif >> >> I seriously suspect you ran a wrong (i.e., non multi-tty) executable. > I am not sure what your intention is with this. I don't think I had a > multi-tty executable around. As multi-tty no longer does `FD_SET (0, &input_wait_mask)' in process.c, if no `add_keyboard_wait_descriptor' calls are made, then Carbon Emacs reads events from the window system only rarely via polling with SIGALRM and becomes very unresponsive as reported. I couldn't imagine that you weren't aware of such a noticeable deficiency when you tested it, so I suspected you ran a different executable. > When I did that work I clearly stated that I did only minimal > testing. For the record here's what that meant: > -bootstrap with --without-carbon --with-x11, make sure it works > -configure --with-carbon > -make (no rebootstrap, I kept the byte compiled files) > -check that emacs -nw starts up (don't remember what I had to do to > make it work, mainly it was compilation fixes for new interfaces) > -hack until a carbon frame is displayed, run emacs -f server-start, > check that emacsclient and emacsclient -t can connect to it. So you didn't type any commands in a Carbon frame. Then it is very likely that the current Carbon port is actually as unresponsive as the one you tested in May. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp