From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Carbon port emacs-unicode-2 build problem under MacOSX Date: Tue, 06 Nov 2007 13:26:53 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <47305F6E.2030204@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194377365 9193 80.91.229.12 (6 Nov 2007 19:29:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2007 19:29:25 +0000 (UTC) Cc: adrian.robert@gmail.com To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 06 20:29:25 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 1IpU6l-0002DA-Lh for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 20:29:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpU6a-00061j-Kg for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 14:28:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpU6X-00061e-L4 for emacs-devel@gnu.org; Tue, 06 Nov 2007 14:28:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpU6V-00061S-Ra for emacs-devel@gnu.org; Tue, 06 Nov 2007 14:28:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpU6V-00061P-Mn for emacs-devel@gnu.org; Tue, 06 Nov 2007 14:28:51 -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 1IpU6V-0001wT-2a for emacs-devel@gnu.org; Tue, 06 Nov 2007 14:28:51 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IpU5h-0002aB-IR for emacs-devel@gnu.org; Tue, 06 Nov 2007 19:28:01 +0000 Original-Received: from c-67-186-103-18.hsd1.il.comcast.net ([67.186.103.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Nov 2007 19:28:01 +0000 Original-Received: from tzz by c-67-186-103-18.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Nov 2007 19:28:01 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-103-18.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (darwin) Cancel-Lock: sha1:opWocomFtQQS/Pa4ElpiC45vRrY= 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:82670 Archived-At: On Tue, 06 Nov 2007 12:34:54 +0000 Jason Rumney wrote: JR> CHENG Gao wrote: >> Emacs running from terminal works ok. But Emacs.app (running from >> Finder) is not usable. For every keystroke (keyboard input or mouse >> click) I have to wait for several minutes. I think it's owing to my >> brutal revert of mac_set_unicode_keystrok_event which makes >> do_keystrokes dysfunction. >> Another possibility is workaround of "export LIBS=-lresolv". I have no >> idea. Or owing to merge of multi-tty code? >> JR> Definitely the merge of multi-tty code, the same problem has been JR> reported in the trunk multiple times. JR> macterm.c is missing a call to add_keyboard_wait_descriptor (see xterm.c JR> and w32term.c), which was necessary to get input working at all on JR> Windows after the multi-tty merge. Despite this being pointed out JR> several times, noone who is using a Mac has tried adding this call and JR> reported back whether it solves the problem. You must have missed my messages. I did this several times and reported that a simple call to add_keyboard_wait_descriptor was not the solution. I've tested on Mac OS 10.4 and 10.5. JR> I think reverting the change is correct, as the old mule based utf JR> codings are no longer used internally, but it might be a good idea to JR> find what the change was in the trunk that caused this code to be JR> merged, as there may be something there that should be changed in the JR> unicode branch as well. After trying the Cocoa port, it's actually much better than the Carbon port, and Carbon is deprecated on MacOS according to Apple (10.5 compilations report deprecated symbols for many Carbon functions). I think merging the Cocoa port would be a good thing. Unfortunately it doesn't help those who want to track CVS with the Emacs build today, and I don't know how hard it will be. Adrian Robert, the maintainer of the Cocoa port at http://emacs-app.sourceforge.net/, is CCed here in case he wants to give his opinion. Ted