From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.devel Subject: Re: macosx(carbon): slow keyboard responsiveness bug fix Date: Wed, 21 Nov 2007 17:59:38 +0900 Organization: the Church of Emacs Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195635755 20708 80.91.229.12 (21 Nov 2007 09:02:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2007 09:02:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 10:02:36 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 1IulTd-0004Ak-BR for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2007 10:02:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IulTP-0002ES-6L for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2007 04:02:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IulTK-0002EL-Ua for emacs-devel@gnu.org; Wed, 21 Nov 2007 04:02:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IulTJ-0002E8-Cs for emacs-devel@gnu.org; Wed, 21 Nov 2007 04:02:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IulTJ-0002E5-6o for emacs-devel@gnu.org; Wed, 21 Nov 2007 04:02:13 -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 1IulTI-0001nG-Gi for emacs-devel@gnu.org; Wed, 21 Nov 2007 04:02:12 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IulSC-0003bV-2x for emacs-devel@gnu.org; Wed, 21 Nov 2007 09:01:04 +0000 Original-Received: from gw.community-engine.co.jp ([210.255.51.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2007 09:01:04 +0000 Original-Received: from william.xwl by gw.community-engine.co.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2007 09:01:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gw.community-engine.co.jp User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (darwin) Cancel-Lock: sha1:6YD5mQnNAVSCvvuIv5rM5WXtZa8= 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:83768 Archived-At: Dan Nicolaescu writes: > Given that now the Carbon port warns that it is non functional, It's functional now. Actually ever since i started to build trunk on macosx in around Sep, it worked fine most of the time, until 20071025. > if anybody wants to get this working, it should be done the right way. No doubt. > I changed it to be similar to what w32-win.el does. > > None of these is tested, I don't have access to a mac machine. I just managed to bootstrap it. And it did solve the problem. Thanks. :-) ps. I think the following FIXME could be safely removed now. ,----[ macterm.c ] | /* FIXME: This keyboard setup is 100% untested, just copied from | w32_create_terminal in order to set window-system now that it's | a keyboard object. */ `---- pps. Adding the following makes almost no difference here. I'm not sure whether it's good or bad to add such stuffs. (Give that CHENG Gao was talking about the unicode-2 branch) ,---- | add_keyboard_wait_descriptor (0); `---- -- William http://williamxu.net9.org