From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: Carbon port emacs-unicode-2 build problem under MacOSX Date: Tue, 06 Nov 2007 21:58:01 +0800 Organization: cyberhut.org Message-ID: References: <47305F6E.2030204@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1194357551 30253 80.91.229.12 (6 Nov 2007 13:59:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2007 13:59:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 06 14:59:16 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 1IpOxX-0007fC-2C for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 14:59:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpOxM-00019W-86 for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 08:59:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpOxI-00018y-Hy for emacs-devel@gnu.org; Tue, 06 Nov 2007 08:59:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpOxH-00017C-0o for emacs-devel@gnu.org; Tue, 06 Nov 2007 08:59:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpOxG-000176-Tw for emacs-devel@gnu.org; Tue, 06 Nov 2007 08:58:58 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IpOxG-0008J1-7H for emacs-devel@gnu.org; Tue, 06 Nov 2007 08:58:58 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IpOxB-000156-78 for emacs-devel@gnu.org; Tue, 06 Nov 2007 13:58:53 +0000 Original-Received: from 222.94.199.221 ([222.94.199.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Nov 2007 13:58:53 +0000 Original-Received: from chenggao by 222.94.199.221 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Nov 2007 13:58:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 222.94.199.221 User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (darwin) Cancel-Lock: sha1:x6k5i1YZc+7qpacW2GpfKLofmxk= X-detected-kernel: by monty-python.gnu.org: 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:82659 Archived-At: *On Tue, 06 Nov 2007 12:34:54 +0000 * Also sprach Jason Rumney : > Definitely the merge of multi-tty code, the same problem has been > reported in the trunk multiple times. macterm.c is missing a call to > add_keyboard_wait_descriptor (see xterm.c and w32term.c), which was > necessary to get input working at all on Windows after the multi-tty > merge. Despite this being pointed out several times, noone who is using > a Mac has tried adding this call and reported back whether it solves the > problem. > > I think reverting the change is correct, as the old mule based utf > codings are no longer used internally, but it might be a good idea to > find what the change was in the trunk that caused this code to be > merged, as there may be something there that should be changed in the > unicode branch as well. I read discussions about adding of this call into macterm.c (mac_term_init). From the discussion I know Ted Zlatanov tried this and it did not work. I tried this and built twice. It remains the same. I must say I dont know where to add. I tried ,---- | add_keyboard_wait_descriptor(0) `---- and ,---- | add_keyboard_wait_descriptor(1) `---- before ,---- | #if USE_CG_DRAWING | mac_init_fringe (terminal->rif); | #endif `---- (I imagined this position after reading w32term.c). -- Totus mundus agit histrionem